mirror of
https://github.com/sajenim/javascript-template.git
synced 2025-12-17 03:50:40 +08:00
- Add Tailwind CSS v4 to Next.js template with zero-config setup - Migrate both templates to ESLint flat config (eslint.config.mjs) - Add proper .gitignore files to vanilla and nextjs templates - Simplify root .gitignore to only Nix artifacts - Update styling for consistent visual identity across templates - Update README to reflect Tailwind inclusion and flat config
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
|
|
const eslintConfig = defineConfig([
|
|
globalIgnores(['dist/**', 'build/**', 'node_modules/**']),
|
|
{
|
|
files: ['**/*.js'],
|
|
languageOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
},
|
|
rules: {},
|
|
},
|
|
]);
|
|
|
|
export default eslintConfig;
|