pinmenote-extension/.eslintrc

49 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2022-12-17 22:55:05 +01:00
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"project": "./tsconfig.json",
"sourceType": "module"
},
"settings": {
"react": {
"version": "detect"
}
},
"plugins": ["@typescript-eslint", "react"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"rules": {
"max-len": ["error", {"code": 120, "ignoreComments": true, "ignoreTemplateLiterals": true}],
2023-09-19 02:01:52 +02:00
"no-console": "warn",
2022-12-17 22:55:05 +01:00
"semi": [ "error", "always" ],
"@typescript-eslint/no-unsafe-member-access": "off",
2022-12-17 22:55:05 +01:00
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/restrict-template-expressions": "error",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-explicit-any": "off",
"sort-imports": [
2023-09-19 02:01:52 +02:00
"off",
2022-12-17 22:55:05 +01:00
{
"ignoreCase": false,
"ignoreDeclarationSort": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
"allowSeparatedGroups": false
}
]
}
}