mirror of
https://github.com/danog/fast-srp.git
synced 2024-11-30 04:19:18 +01:00
33 lines
838 B
Plaintext
33 lines
838 B
Plaintext
|
{
|
||
|
"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",
|
||
|
"@typescript-eslint/camelcase": "off"
|
||
|
}
|
||
|
}
|