-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
26 lines (24 loc) · 890 Bytes
/
.eslintrc.json
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
// When you write javascript you should follow these soft rules and best practices
// https://github.com/airbnb/javascript
// This is a link to best practices and enforcer settings for eslint
// https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb
// Use this file as a starting point for your project's .eslintrc.
{
"env": {
"browser": true,
"node": true,
"jquery": true,
"commonjs": true,
"es6": true,
"jest": true
},
"extends": ["airbnb"],
"rules": {
"no-console": 0,
"no-unused-vars": 0,
"max-len": 0,
// The following line ignores import from 'healthelife_sdk-js' since we'll provide it externally at run time.
// More details at: https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md#ignore
"import/no-unresolved": [ 2, { "ignore": ["healthelife_sdk-js"] }]
}
}