Files
test/frontend/.oxlintrc.json
Benjamin Falch 2bc741fb78
Some checks failed
Mark Stale PRs / stale (push) Has been cancelled
adding monkeytype
2026-04-23 13:53:44 +02:00

67 lines
2.0 KiB
JSON

{
"ignorePatterns": ["node_modules", "dist", "coverage", ".firebase", ".turbo"],
"extends": [
"../packages/oxlint-config/index.jsonc",
"../packages/oxlint-config/plugin.jsonc"
// "@monkeytype/oxlint-config"
],
"jsPlugins": ["eslint-plugin-compat"],
"rules": {
"compat/compat": "error"
},
"overrides": [
{
"files": ["**/*.ts"],
"rules": {
//
}
},
{
"files": ["storybook/**/*.tsx"],
"rules": {
"explicit-function-return-type": "off",
"no-explicit-any": "off",
"no-unsafe-assignment": "off",
"no-empty-function": "off"
}
},
{
"jsPlugins": ["eslint-plugin-solid", "@tanstack/eslint-plugin-query"],
"files": ["src/**/*.tsx"],
"rules": {
"explicit-function-return-type": "off",
"solid/components-return-once": "error",
"solid/event-handlers": "error",
"solid/imports": "error",
"solid/jsx-no-duplicate-props": "error",
"solid/jsx-no-script-url": "error",
"solid/jsx-no-undef": "error",
"solid/no-array-handlers": "error",
"solid/no-destructure": "error",
"solid/no-innerhtml": "error",
"solid/no-react-deps": "error",
"solid/no-react-specific-props": "error",
"solid/no-unknown-namespaces": "error",
"solid/prefer-classlist": "error",
"solid/prefer-for": "error",
"solid/prefer-show": "error",
"solid/reactivity": "error",
"solid/self-closing-comp": [
"error",
{
"html": "void"
}
],
"solid/style-prop": "error",
"@tanstack/query/exhaustive-deps": "error",
"@tanstack/query/no-rest-destructuring": "error",
"@tanstack/query/stable-query-client": "error",
"@tanstack/query/no-unstable-deps": "error",
"@tanstack/query/infinite-query-property-order": "error",
"@tanstack/query/no-void-query-fn": "error",
"@tanstack/query/mutation-property-order": "error"
}
}
]
}