1
0
mirror of https://github.com/danog/fast-srp.git synced 2024-11-26 20:04:49 +01:00
fast-srp/.eslintrc
2020-04-12 19:39:50 +02:00

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"
}
}