Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 94e1f43

Browse files
committed
Add ESLint configuration
ESLint, although listed as a dependency, had no configuration. This moves the package to the same configuration used throughout the rest of the providers and adds a script to run it.
1 parent f47efa8 commit 94e1f43

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

package.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,34 @@
2424
"atom-package-deps": "^4.0.1"
2525
},
2626
"devDependencies": {
27-
"eslint": "latest"
27+
"eslint": "^3.9.1",
28+
"eslint-config-airbnb-base": "^10.0.1",
29+
"eslint-plugin-import": "^2.1.0"
2830
},
2931
"package-deps": [
3032
"linter"
3133
],
34+
"scripts": {
35+
"lint": "eslint .",
36+
"test": "apm test"
37+
},
3238
"eslintConfig": {
39+
"extends": "airbnb-base",
40+
"rules": {
41+
"global-require": "off",
42+
"import/no-unresolved": [
43+
"error",
44+
{
45+
"ignore": [
46+
"atom"
47+
]
48+
}
49+
]
50+
},
3351
"env": {
34-
"es6": true,
3552
"browser": true,
3653
"node": true
3754
},
38-
"ecmaFeatures": {
39-
"modules": true
40-
},
4155
"globals": {
4256
"atom": true
4357
}

0 commit comments

Comments
 (0)