-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.eslintrc
56 lines (56 loc) · 1.23 KB
/
.eslintrc
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
parser: babel-eslint
env:
browser: true
meteor: true
mongo: true
jest: true
globals:
window: true
document: true
FormData: true
Image: true
fetch: true
Assets: true
parserOptions:
ecmaFeatures:
classes: true
jsx: true
settings:
import/core-modules:
- meteor/meteor
- meteor/webapp
- meteor/ejson
- meteor/mongo
- meteor/check
- meteor/tracker
- meteor/tmeasday:check-npm-versions
- meteor/ssrwpo:ssr
- meteor/mdg:validated-method
- meteor/didericis:callpromise-mixin
import/resolver:
meteor:
extensions:
- .jsx
- .js
react:
version: 15.4.2
plugins:
- meteor
- class-property
extends:
- eslint:recommended
- 'plugin:react/recommended'
- airbnb
- 'plugin:meteor/recommended'
- 'plugin:import/errors'
- 'plugin:import/warnings'
rules:
# Removed or modified too strict rules
# Disable PropTypes only for any
react/forbid-prop-types: [2, { forbid: ['any'] }]
# This rule is deprecated in favor of eslint-plugin-import
react/require-extension: 0
# Disbled temporarily: A pure render function should be added as a pattern
class-methods-use-this: 0
# Disabled as it's mandatory for Meteor imports
import/no-absolute-path: 0