-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
.eslintrc.yml
66 lines (66 loc) · 1.42 KB
/
.eslintrc.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
env:
browser: true
es2020: true
node: true
extends:
- plugin:coffee/eslint-recommended
- plugin:coffee/import
- plugin:import/recommended
- plugin:meteor/recommended
- plugin:solid/recommended
- plugin:coffee/disable-incompatible
globals:
Meteor: readonly
WebApp: readonly
Objects: readonly
ObjectsDiff: readonly
Pages: readonly
Remotes: readonly
Rooms: readonly
ignorePatterns:
- .meteor
overrides:
- files:
- server/bootstrap.coffee
parserOptions:
sourceType: script # support for module-level return (but no import)
parser: eslint-plugin-coffee
parserOptions:
ecmaFeatures:
globalReturn: true
jsx: true
ecmaVersion: 11
sourceType: module
plugins:
- coffee
- import
- meteor
rules:
linebreak-style:
- error
- unix
coffee/display-name: error
coffee/no-inner-declarations: off
coffee/no-unused-vars:
- error
- args: none # allow callbacks of the form (e) -> ...not using e...
coffee/no-useless-escape: off
import/default: off
import/no-named-as-default-member: off
meteor/no-session: off
meteor/no-zero-timeout: off
meteor/audit-argument-checks:
- error
- checkEquivalents:
- checkId
- checkMeeting
solid/no-innerhtml: off
solid/reactivity: off # too much noise, especially with CoffeeScript
settings:
import/ignore:
- node_modules
import/resolver:
meteor:
extensions:
- .coffee
- .js