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

Commit 03a9b85

Browse files
greenkeeperio-botArcanemagus
authored andcommitted
Update eslint-config-airbnb-base to version 2.0.0 🚀 (#106)
* chore(package): update eslint-config-airbnb-base to version 2.0.0 https://greenkeeper.io/ * Update deps, fix scripts
1 parent ee93b7e commit 03a9b85

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

‎package.json

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"atom": ">=1.0.0 <2.0.0"
1313
},
1414
"scripts": {
15-
"test": "eslint ."
15+
"test": "apm test",
16+
"lint": "eslint ."
1617
},
1718
"keywords": [
1819
"html",
@@ -30,25 +31,15 @@
3031
"htmlhint": "~0.9.12"
3132
},
3233
"devDependencies": {
33-
"eslint": "^2.8.0",
34-
"eslint-config-airbnb-base": "^1.0.0",
35-
"eslint-plugin-import": "^1.5.0"
34+
"eslint": "^2.9.0",
35+
"eslint-config-airbnb-base": "^2.0.0",
36+
"eslint-plugin-import": "^1.6.1"
3637
},
3738
"eslintConfig": {
3839
"rules": {
39-
"comma-dangle": [
40-
2,
41-
"never"
42-
],
40+
"comma-dangle": [2, "never"],
4341
"global-require": 0,
44-
"import/no-unresolved": [
45-
2,
46-
{
47-
"ignore": [
48-
"atom"
49-
]
50-
}
51-
]
42+
"import/no-unresolved": [2, {"ignore": ["atom"]}]
5243
},
5344
"extends": "airbnb-base",
5445
"globals": {

‎spec/linter-htmlhint-spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
'use babel';
22

33
import * as path from 'path';
4+
const lint = require(path.join('..', 'lib', 'index.js')).provideLinter().lint;
45

56
describe('The htmlhint provider for Linter', () => {
6-
const lint = require(path.join('..', 'lib', 'index.js')).provideLinter().lint;
7-
87
beforeEach(() => {
98
atom.workspace.destroyActivePaneItem();
109
waitsForPromise(() =>

0 commit comments

Comments
 (0)