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

Commit c00ae89

Browse files
authored
Merge pull request #155 from AtomLinter/cleanup
Bugfixes
2 parents d7a5712 + d27d4bb commit c00ae89

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
"default": false
2020
}
2121
},
22+
"engines": {
23+
"atom": ">=1.4.0 <2.0.0"
24+
},
2225
"dependencies": {
23-
"atomlinter-csslint": "0.10.0",
26+
"atomlinter-csslint": "0.10.1",
2427
"atom-linter": "^8.0.0",
2528
"atom-package-deps": "^4.0.1"
2629
},
@@ -33,7 +36,7 @@
3336
"linter"
3437
],
3538
"scripts": {
36-
"lint": "coffeelint lib && eslint spec",
39+
"lint": "eslint .",
3740
"test": "apm test"
3841
},
3942
"eslintConfig": {
@@ -53,7 +56,6 @@
5356
"atom": true
5457
},
5558
"env": {
56-
"es6": true,
5759
"node": true
5860
}
5961
},

spec/linter-csslint-spec.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ describe('The csslint provider for Linter', () => {
1414

1515
beforeEach(() => {
1616
atom.workspace.destroyActivePaneItem();
17-
waitsForPromise(() => {
18-
atom.packages.activatePackage('linter-csslint');
19-
return atom.packages.activatePackage('language-css').then(() =>
17+
waitsForPromise(() =>
18+
Promise.all([
19+
atom.packages.activatePackage('linter-csslint'),
20+
atom.packages.activatePackage('language-css'),
21+
]).then(() =>
2022
atom.workspace.open(goodPath)
21-
);
22-
});
23+
)
24+
);
2325
});
2426

2527
describe('checks bad.css and', () => {

0 commit comments

Comments
 (0)