30 lines
891 B
JSON
30 lines
891 B
JSON
|
{
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"es2021": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:lit/recommended",
|
||
|
"plugin:custom-elements/recommended",
|
||
|
"plugin:storybook/recommended",
|
||
|
"plugin:sonarjs/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 12,
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"plugins": ["@typescript-eslint", "lit", "custom-elements", "sonarjs"],
|
||
|
"rules": {
|
||
|
"indent": "off",
|
||
|
"linebreak-style": ["error", "unix"],
|
||
|
"quotes": ["error", "double", { "avoidEscape": true }],
|
||
|
"semi": ["error", "always"],
|
||
|
"@typescript-eslint/ban-ts-comment": "off",
|
||
|
"sonarjs/cognitive-complexity": ["error", 9],
|
||
|
"sonarjs/no-nested-template-literals": "off"
|
||
|
}
|
||
|
}
|