forked from fonoster/fonoster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
37 lines (37 loc) · 827 Bytes
/
.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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
},
"plugins": [
"@typescript-eslint",
"no-loops",
"prettier",
"notice"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"google",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"quotes": [
"error",
"double"
],
"notice/notice": [
"error",
{
"mustMatch": "Licensed under the MIT License",
"templateFile": "etc/copyright.js"
}
],
"no-loops/no-loops": 2,
"no-console": 1, // Means warning
"prettier/prettier": 2 // Means error
}
}