PettyUI/.eslintrc.cjs
2026-03-29 02:30:05 +07:00

20 lines
526 B
JavaScript

/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
},
plugins: ["solid"],
extends: ["plugin:solid/typescript"],
rules: {
// Only Solid-specific rules — everything else handled by Biome
"solid/reactivity": "error",
"solid/no-destructure": "error",
"solid/prefer-for": "warn",
"solid/no-react-deps": "error",
"solid/no-react-specific-props": "error",
},
};