mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true,
|
|
"node": true,
|
|
"jest": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 11,
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"moduleDirectory": ["node_modules", "src/"]
|
|
}
|
|
}
|
|
},
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"eslint:recommended",
|
|
"plugin:prettier/recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/typescript",
|
|
"plugin:css-modules/recommended",
|
|
"prettier",
|
|
"next"
|
|
],
|
|
"plugins": ["@typescript-eslint", "prettier", "promise", "css-modules"],
|
|
"rules": {
|
|
"no-console": "error",
|
|
"react/display-name": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": "off",
|
|
"import/no-anonymous-default-export": "off",
|
|
"import/no-named-as-default": "off",
|
|
"@next/next/no-img-element": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error", { "ignoreRestSiblings": true }]
|
|
},
|
|
"globals": {
|
|
"React": "writable"
|
|
}
|
|
}
|