mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
40 lines
825 B
JavaScript
40 lines
825 B
JavaScript
module.exports = {
|
|
extends: [
|
|
"airbnb",
|
|
"airbnb/hooks",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
],
|
|
settings: {
|
|
"import/resolver": {
|
|
typescript: {},
|
|
},
|
|
},
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
project: "./tsconfig.json",
|
|
tsconfigRootDir: "./",
|
|
},
|
|
plugins: ["@typescript-eslint", "import"],
|
|
env: {
|
|
browser: true,
|
|
},
|
|
rules: {
|
|
"react/jsx-uses-react": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/require-default-props": "off",
|
|
"react/destructuring-assignment": "off",
|
|
"react/jsx-filename-extension": [
|
|
"error",
|
|
{ extensions: [".js", ".tsx", ".jsx"] },
|
|
],
|
|
"import/extensions": [
|
|
"error",
|
|
"ignorePackages",
|
|
{
|
|
ts: "never",
|
|
tsx: "never",
|
|
},
|
|
],
|
|
},
|
|
};
|