-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.yml
62 lines (62 loc) · 1.22 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
env:
browser: true
es2020: true
node: true
extends:
- plugin:coffee/eslint-recommended
- plugin:coffee/import
- plugin:import/recommended
- plugin:meteor/recommended
- plugin:coffee/react-recommended
- plugin:coffee/disable-incompatible
globals:
Meteor: readonly
WebApp: readonly
ignorePatterns:
- .meteor
parser: eslint-plugin-coffee
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: 11
sourceType: module
plugins:
- coffee
- import
- meteor
- react
rules:
linebreak-style:
- error
- unix
coffee/jsx-no-target-blank:
- error
- allowReferrer: true
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
react/no-unescaped-entities:
- warn
- forbid: ['>', '"', '}']
react/prop-types: off
meteor/no-session: off
meteor/audit-argument-checks:
- error
- checkEquivalents:
- checkId
- checkMeeting
settings:
import/ignore:
- node_modules
import/resolver:
meteor:
extensions:
- .coffee
- .js
- .ts
react:
version: detect