2020-04-12 19:30:08 +02:00
|
|
|
{
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended" // uses the recommended rules from the @typescript-eslint/eslint-plugin
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
|
|
|
"bin/",
|
|
|
|
"lib/",
|
|
|
|
"jsbn"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"quotes": ["error", "double"],
|
|
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
|
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
|
|
"dot-notation": "error",
|
|
|
|
"eqeqeq": "error",
|
|
|
|
"curly": ["error", "all"],
|
|
|
|
"brace-style": ["error"],
|
|
|
|
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
2021-01-10 18:07:29 +01:00
|
|
|
"@typescript-eslint/naming-convention": "off"
|
2020-04-12 19:30:08 +02:00
|
|
|
}
|
|
|
|
}
|