Kopie van https://gitlab.com/studieverenigingvia/ict/centurion met een paar aanpassingen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
644 B
24 lines
644 B
3 years ago
|
module.exports = {
|
||
|
"ignorePatterns": [".eslintrc.js", "vite.config.ts", "postcss.config.js"],
|
||
|
"settings": {
|
||
|
"react": {
|
||
|
"version": "detect"
|
||
|
}
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"tsconfigRootDir": __dirname,
|
||
|
"project": ["./tsconfig.json"]
|
||
|
},
|
||
|
"extends": [
|
||
|
"plugin:react/recommended"
|
||
|
],
|
||
|
"rules": {
|
||
|
// suppress errors for missing 'import React' in files
|
||
|
"react/react-in-jsx-scope": "off",
|
||
|
// At some point these must be set to "error"
|
||
|
"@typescript-eslint/no-unsafe-member-access": "warn",
|
||
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
||
|
"@typescript-eslint/no-unsafe-argument": "warn"
|
||
|
}
|
||
|
};
|