aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
blob: 449161cd6424f79ff9251a04e0b7911a3cfb3ccc (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
{
	"env": {
		"browser": true
	},
	"extends": [
		"eslint:recommended",
		"standard"
	],
	"rules": {
		"camelcase": "off",
		"comma-dangle": ["warn", {
			"arrays": "always-multiline",
			"objects": "always-multiline"
		}],
		"eqeqeq": "off",
		"indent": ["warn", "tab", { "SwitchCase": 1 }],
		"linebreak-style": ["error", "unix"],
		"max-len": ["warn", 165],
		"no-tabs": "off",
		"semi": ["warn", "always"],
		"space-before-function-paren": ["warn", {
			"anonymous": "always",
			"named": "never",
			"asyncArrow": "always"
		}],
		"yoda": "off"
	},
	"root": true
}