Files
hudozka/eslint.config.js
T
tmshv 3df47621a2 next 16; react 19; node 24 (#263)
* next 16; react 19

* fix build errors

* add typecheck to workflow

* use node 24

* claude update
2026-02-08 23:07:25 +07:00

35 lines
911 B
JavaScript

import { defineConfig, globalIgnores } from "eslint/config"
import nextVitals from "eslint-config-next/core-web-vitals"
import globals from "globals"
export default defineConfig([
globalIgnores([
".next/**",
"out/**",
"build/**",
"modules/**",
"public/static/**",
"next-env.d.ts",
]),
...nextVitals,
{
languageOptions: {
globals: globals.browser,
},
},
{
rules: {
semi: ["error", "never"],
indent: ["warn", 4],
quotes: ["warn", "double"],
"eol-last": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"no-tabs": "error",
"no-var": "error",
"space-before-function-paren": "off",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
},
},
])