Skip to content

Commit 054e798

Browse files
spalgerspalger
authored andcommitted
upgrade eslint, all related deps, and config files
1 parent 083d564 commit 054e798

5 files changed

Lines changed: 44 additions & 102 deletions

File tree

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/src/core_plugins/console/public/webpackShims
2+
/src/core_plugins/console/public/tests/webpackShims
13
/src/core_plugins/timelion/bower_components
24
/src/core_plugins/timelion/vendor_components
35
test/fixtures/scenarios

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
---
22
extends: '@elastic/kibana'
3+
rules:
4+
no-unused-vars: off
5+
no-var: off
6+
prefer-const: off
7+
no-extra-semi: off
8+
quotes: off

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,17 @@
165165
"wreck": "6.2.0"
166166
},
167167
"devDependencies": {
168-
"@elastic/eslint-config-kibana": "0.0.3",
168+
"@elastic/eslint-config-kibana": "0.2.1",
169169
"angular-mocks": "1.4.7",
170170
"auto-release-sinon": "1.0.3",
171-
"babel-eslint": "4.1.8",
171+
"babel-eslint": "6.1.2",
172172
"chai": "3.5.0",
173173
"cheerio": "0.22.0",
174174
"chokidar": "1.6.0",
175175
"chromedriver": "2.24.1",
176176
"elasticdump": "2.1.1",
177-
"eslint": "1.10.3",
178-
"eslint-plugin-mocha": "1.1.0",
177+
"eslint": "3.11.1",
178+
"eslint-plugin-mocha": "4.7.0",
179179
"event-stream": "3.3.2",
180180
"expect.js": "0.3.1",
181181
"faker": "1.1.0",
@@ -189,7 +189,7 @@
189189
"grunt-karma": "2.0.0",
190190
"grunt-run": "0.6.0",
191191
"grunt-simple-mocha": "0.4.0",
192-
"gruntify-eslint": "1.0.1",
192+
"gruntify-eslint": "3.0.0",
193193
"gulp-sourcemaps": "1.7.3",
194194
"handlebars": "4.0.5",
195195
"husky": "0.8.1",

src/core_plugins/console/.eslintrc

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
11
---
22

33
root: true
4-
extends: '@elastic/kibana'
4+
extends: '../../../.eslintrc'
55

66
rules:
7-
block-scoped-var: [0]
8-
camelcase: [0]
9-
curly: [0]
10-
dot-location: [0]
11-
dot-notation: [0]
12-
eqeqeq: [0]
13-
guard-for-in: [0]
14-
indent: [0]
15-
max-len: [0]
16-
new-cap: [0]
17-
no-caller: [0]
18-
no-empty: [0]
19-
no-extend-native: [0]
20-
no-loop-func: [0]
21-
no-multi-str: [0]
22-
no-nested-ternary: [0]
23-
no-proto: [0]
24-
no-sequences: [0]
25-
no-undef: [0]
26-
no-use-before-define: [0]
27-
one-var: [0]
28-
quotes: [0]
29-
space-before-blocks: [0]
30-
space-in-parens: [0]
31-
space-infix-ops: [0]
32-
semi: [0]
33-
strict: [0]
34-
wrap-iife: [0]
7+
block-scoped-var: off
8+
camelcase: off
9+
curly: off
10+
dot-location: off
11+
dot-notation: off
12+
eqeqeq: off
13+
guard-for-in: off
14+
indent: off
15+
max-len: off
16+
new-cap: off
17+
no-caller: off
18+
no-empty: off
19+
no-extend-native: off
20+
no-loop-func: off
21+
no-multi-str: off
22+
no-nested-ternary: off
23+
no-proto: off
24+
no-sequences: off
25+
no-undef: off
26+
no-use-before-define: off
27+
one-var: off
28+
quotes: off
29+
space-before-blocks: off
30+
space-in-parens: off
31+
space-infix-ops: off
32+
semi: off
33+
strict: off
34+
wrap-iife: off
35+
no-var: off
36+
prefer-const: off

src/core_plugins/timelion/.eslintrc

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)