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

Commit f883be9

Browse files
author
Edmundo Alvarez
committed
Use eslint-config-graylog for linter configuration
1 parent 3495bd9 commit f883be9

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

.eslintrc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,7 @@
55
"jsx": true,
66
},
77
"extends": [
8-
"eslint:recommended",
9-
"airbnb",
8+
"graylog",
109
],
11-
"rules": {
12-
"arrow-body-style": 0,
13-
"indent": [2, 2, { "SwitchCase" : 1}],
14-
"max-len" : 0,
15-
"new-cap": 0,
16-
"no-else-return": 1,
17-
"no-nested-ternary": 1,
18-
"object-shorthand": [2, "methods"],
19-
"react/jsx-closing-bracket-location": 0,
20-
"react/jsx-indent-props": 0,
21-
"react/jsx-space-before-closing": 0,
22-
"react/prefer-es6-class": 0,
23-
},
2410
}
2511

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@
2929
},
3030
"devDependencies": {
3131
"babel-core": "^5.8.25",
32+
"babel-eslint": "^4.1.6",
3233
"babel-loader": "^5.3.2",
3334
"css-loader": "^0.23.1",
34-
"eslint": "^2.2.0",
35-
"eslint-config-airbnb": "6.0.2",
35+
"eslint": "^2.10.2",
36+
"eslint-config-graylog": "^1.0.0",
3637
"eslint-loader": "^1.0.0",
37-
"eslint-plugin-react": "^4.1.0",
38+
"estraverse-fb": "^1.3.1",
3839
"graylog-web-manifests": "^2.0.0-alpha.3",
3940
"graylog-web-plugin": "latest",
4041
"json-loader": "^0.5.4",

0 commit comments

Comments
 (0)