annotate .eslintrc.json @ 23:1d72fddc319a

make eslint happy
author cin
date Wed, 06 Dec 2017 14:19:45 +0300
parents fc2517695ee1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
1 {
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
2 "env": {
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
3 "browser": true,
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
4 "commonjs": true,
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
5 "amd": true,
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
6 "node": true
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
7 },
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
8 "parserOptions": {
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
9 "ecmaFeatures": {
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
10 "jsx": true
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
11 },
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
12 "sourceType": "module"
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
13 },
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
14 "extends": "eslint:recommended",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
15 "rules": {
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
16 "no-const-assign": "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
17 "no-this-before-super": "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
18 "no-undef": "error",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
19 "no-unreachable": "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
20 "no-unused-vars": "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
21 "constructor-super": "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
22 "valid-typeof": "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
23 "semi" : "warn",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
24 "no-invalid-this" : "error",
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
25 "no-console": "off"
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
26 }
fc2517695ee1 Initial commit, draft import of existing work
cin
parents:
diff changeset
27 }