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

Commit cadcaba

Browse files
authored
Merge pull request #551 from AtomLinter/arcanemagus/update-deps
Update all non-essential dependencies
2 parents f16cb86 + c66412d commit cadcaba

File tree

5 files changed

+1549
-1884
lines changed

5 files changed

+1549
-1884
lines changed

lib/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const parseResults = (editor, results, filePath, showIgnored) => {
5656
return [];
5757
}
5858

59-
const invalidOptions = results.invalidOptionWarnings.map(msg => ({
59+
const invalidOptions = results.invalidOptionWarnings.map((msg) => ({
6060
severity: 'error',
6161
excerpt: msg.text,
6262
location: {
@@ -99,7 +99,7 @@ const parseResults = (editor, results, filePath, showIgnored) => {
9999
return message;
100100
});
101101

102-
const deprecations = results.deprecations.map(deprecation => ({
102+
const deprecations = results.deprecations.map((deprecation) => ({
103103
severity: 'warning',
104104
excerpt: deprecation.text,
105105
url: deprecation.reference,

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default {
6161
}),
6262
atom.config.observe('linter-stylelint.fixOnSave', (value) => {
6363
this.fixOnSave = value;
64-
}),
64+
})
6565
);
6666

6767
const textBuffers = new Map();
@@ -94,7 +94,7 @@ export default {
9494
},
9595

9696
deactivate() {
97-
this.idleCallbacks.forEach(callbackID => window.cancelIdleCallback(callbackID));
97+
this.idleCallbacks.forEach((callbackID) => window.cancelIdleCallback(callbackID));
9898
this.idleCallbacks.clear();
9999
this.subscriptions.dispose();
100100
},

lib/validate.js

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

33
const hasValidScope = (editor, validScopes) => editor.getCursors()
4-
.some(cursor => cursor.getScopeDescriptor()
4+
.some((cursor) => cursor.getScopeDescriptor()
55
.getScopesArray()
6-
.some(scope => validScopes.includes(scope)));
6+
.some((scope) => validScopes.includes(scope)));
77

88
export default hasValidScope;

0 commit comments

Comments
 (0)