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

Commit 96caef7

Browse files
greenkeeperio-botArcanemagus
authored andcommitted
Update eslint-config-airbnb-base to version 8.0.0 🚀 (#68)
* chore(package): update eslint-config-airbnb-base to version 8.0.0 * Update peerDependencies * Fix lint issues
1 parent f074e04 commit 96caef7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

‎lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use babel';
22

3+
// eslint-disable-next-line import/no-extraneous-dependencies, import/extensions
34
import { Range } from 'atom';
45
import * as jsonlint from 'jsonlint';
56

‎package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"jsonlint": "~1.6.2"
3131
},
3232
"devDependencies": {
33-
"eslint": "^3.5.0",
34-
"eslint-config-airbnb-base": "^7.1.0",
35-
"eslint-plugin-import": "^1.14.0"
33+
"eslint": "^3.6.0",
34+
"eslint-config-airbnb-base": "^8.0.0",
35+
"eslint-plugin-import": "^1.16.0"
3636
},
3737
"eslintConfig": {
3838
"rules": {
@@ -48,15 +48,13 @@
4848
"atom"
4949
]
5050
}
51-
],
52-
"import/no-extraneous-dependencies": "off"
51+
]
5352
},
5453
"extends": "airbnb-base",
5554
"globals": {
5655
"atom": true
5756
},
5857
"env": {
59-
"es6": true,
6058
"node": true
6159
}
6260
},

‎spec/linter-jsonlint-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const goodPath = path.join(__dirname, 'fixtures', 'good.json');
66
const badPath = path.join(__dirname, 'fixtures', 'bad.json');
77

88
describe('The jsonlint provider for Linter', () => {
9-
const lint = require(path.join('..', 'lib', 'index.js')).provideLinter().lint;
9+
const lint = require('../lib/index.js').provideLinter().lint;
1010

1111
beforeEach(() => {
1212
atom.workspace.destroyActivePaneItem();

0 commit comments

Comments
 (0)