Mercurial > kallithea
annotate .eslintrc.js @ 8792:911669ac48a5
vcs: drop repo contact ... and the odd uses of it
A half-baked and essentially unused hgweb feature.
The reference in get_commits_stats doesn't seem reachable in any relevant use
cases.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 12 Nov 2020 18:56:53 +0100 |
parents | 4d36432bf705 |
children |
rev | line source |
---|---|
8254
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
1 module.exports = { |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
2 "env": { |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
3 "browser": true, |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
4 "es6": true, |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
5 "jquery": true |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
6 }, |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
7 "extends": "eslint:recommended", |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
8 "globals": { |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
9 "Atomics": "readonly", |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
10 "SharedArrayBuffer": "readonly" |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
11 }, |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
12 "parserOptions": { |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
13 "ecmaVersion": 2018, |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
14 "sourceType": "module" |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
15 }, |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
16 "plugins": [ |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
17 "html" |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
18 ], |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
19 "rules": { |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
20 } |
4d36432bf705
eslint: install eslint with front-end so it can be run manually
Mads Kiilerich <mads@kiilerich.com>
parents:
diff
changeset
|
21 }; |