aboutsummaryrefslogtreecommitdiff
path: root/2022/22-Monkey-Map/.eslintrc.json
blob: 47dd5e64f399f2aa2672714caf9e263a46a91cad (plain)
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
{
	"env": {
		"es2021": true,
		"node": true
	},
	"extends": [
		"eslint:recommended",
		"plugin:node/recommended"
	],
	"overrides": [
		{
			"files": ["*.js"],
			"rules": {
				"no-constant-condition": "off"
			}
		}
	],
	"parserOptions": {
		"ecmaVersion": "latest",
		"sourceType": "module"
	},
	"rules": {
		"indent": [
			"error",
			"tab"
		],
		"linebreak-style": [
			"error",
			"unix"
		],
		"quotes": [
			"error",
			"single"
		],
		"semi": [
			"error",
			"always"
		],
		"node/no-unsupported-features/es-syntax": [
			"error",
			{ "ignores": ["modules"] }
		]
	}
}