kopia lustrzana https://github.com/fediversespace/fediverse.space
35 wiersze
1.0 KiB
JavaScript
35 wiersze
1.0 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: ["./tsconfig.json"],
|
|
},
|
|
plugins: ["@typescript-eslint"],
|
|
extends: [
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"prettier",
|
|
],
|
|
rules: {
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"@typescript-eslint/explicit-function-return-type": 0,
|
|
"react/prop-types": 0,
|
|
"@typescript-eslint/no-non-null-assertion": 0,
|
|
"@typescript-eslint/no-unsafe-assignment": ["off"],
|
|
"@typescript-eslint/no-unsafe-argument": ["off"],
|
|
"@typescript-eslint/no-unsafe-call": ["off"],
|
|
"@typescript-eslint/no-unsafe-member-access": ["off"],
|
|
"@typescript-eslint/no-unsafe-return": ["off"],
|
|
"@typescript-eslint/restrict-template-expressions": ["off"],
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
};
|