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

Commit 207a035

Browse files
authored
Merge pull request #130 from AtomLinter/greenkeeper-eslint-config-airbnb-base-5.0.0
Update eslint-config-airbnb-base to version 5.0.0 🚀
2 parents 584fdf0 + 0be80ba commit 207a035

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

circle.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ dependencies:
44
- sudo dpkg --install atom-amd64.deb || true
55
- sudo apt-get update
66
- sudo apt-get -f install
7-
- apm install
7+
- npm install
8+
89
test:
910
override:
11+
- npm run lint
12+
# Remove the node_modules installed with the system npm to test real apm install
13+
- rm -Rf node_modules
1014
- atom -v
1115
- apm -v
16+
- apm install --production
1217
- apm test
1318

1419
machine:
1520
node:
16-
version: 6.1.0
21+
version: 6

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function provideLinter() {
4343
lintOnFly: true,
4444
lint: editor => {
4545
const { HTMLHint } = require('htmlhint');
46+
4647
const text = editor.getText();
4748
const filePath = editor.getPath();
4849

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"devDependencies": {
3636
"eslint": "^3.0.1",
37-
"eslint-config-airbnb-base": "^4.0.0",
37+
"eslint-config-airbnb-base": "^5.0.0",
3838
"eslint-plugin-import": "^1.10.2"
3939
},
4040
"eslintConfig": {

spec/linter-htmlhint-spec.js

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

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

67
describe('The htmlhint provider for Linter', () => {

0 commit comments

Comments
 (0)