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

Commit 5b2d0ca

Browse files
authored
Merge pull request #171 from AtomLinter/greenkeeper/eslint-config-airbnb-base-12.0.0
Update eslint-config-airbnb-base to version 12.0.0 🚀
2 parents 7045550 + 42b4a4a commit 5b2d0ca

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

lib/main.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ export default {
4343
this.idleCallbacks.add(depsCallbackID);
4444

4545
this.subscriptions = new CompositeDisposable();
46-
this.subscriptions.add(
47-
atom.config.observe('linter-csslint.executablePath', (value) => {
48-
this.executablePath = value;
49-
}),
50-
);
46+
this.subscriptions.add(atom.config.observe(
47+
'linter-csslint.executablePath',
48+
(value) => { this.executablePath = value; },
49+
));
5150
},
5251

5352
deactivate() {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"fs-plus": "^3.0.1"
3030
},
3131
"devDependencies": {
32-
"eslint": "^4.3.0",
33-
"eslint-config-airbnb-base": "^11.3.1",
32+
"eslint": "^4.6.0",
33+
"eslint-config-airbnb-base": "^12.0.0",
3434
"eslint-plugin-import": "^2.7.0",
3535
"jasmine-fix": "^1.3.0"
3636
},

spec/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
env: {
3-
jasmine: true,
43
atomtest: true,
4+
jasmine: true,
55
},
66
rules: {
77
"import/no-extraneous-dependencies": [

spec/linter-csslint-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { it, fit, wait, beforeEach, afterEach } from 'jasmine-fix';
66
import linterCsslint from '../lib/main';
77

88
const linterProvider = linterCsslint.provideLinter();
9-
const lint = linterProvider.lint;
9+
const { lint } = linterProvider;
1010

1111
const badPath = path.join(__dirname, 'fixtures', 'bad.css');
1212
const goodPath = path.join(__dirname, 'fixtures', 'good.css');

0 commit comments

Comments
 (0)