forked from abhilash1in/aws-secrets-manager-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1.34 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"env": {
"es6": true,
"node": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint",
"spellcheck"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"rules": {
"quotes": ["error", "single"],
"eqeqeq": "error",
"camelcase": "error",
"eol-last": ["error", "always"],
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1 }],
"no-trailing-spaces": "error",
"indent": ["error", 2],
"key-spacing": ["error", { "beforeColon": false }],
"linebreak-style": ["error", "unix"],
"semi": ["error", "never"],
"semi-spacing": ["error", {"before": false, "after": true}],
"spellcheck/spell-checker": ["warn", {
"lang": "en_US",
"skipWords": ["aws", "posix", "rethrow", "ascii", "recurse", "typeof", "falsy"],
"skipIfMatch": ["[Dd]ecrypt.?", "[Ww]ildcard.?"]
}
],
"max-len": ["error", { "code": 120 }]
}
}