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

Commit f43b7b8

Browse files
committed
style: fix linting issues
1 parent b9a215a commit f43b7b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default {
115115
* @param {number} severity severity from the sass-lint linter
116116
* @return {string} severity for the Linter API
117117
*/
118-
getSeverity: severity => (severityMap.has(severity)
118+
getSeverity: (severity) => (severityMap.has(severity)
119119
? severityMap.get(severity)
120120
: 'info'
121121
),

lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
},
7272

7373
deactivate() {
74-
idleCallbacks.forEach(callbackID => window.cancelIdleCallback(callbackID));
74+
idleCallbacks.forEach((callbackID) => window.cancelIdleCallback(callbackID));
7575
idleCallbacks.clear();
7676
return this.subs.dispose();
7777
},
@@ -96,7 +96,7 @@ export default {
9696
}
9797
if ((this.globalPath === '') && (prefixPath === null)) {
9898
const npmCommand = process.platform === 'win32' ? 'npm.cmd' : 'npm';
99-
const env = Object.assign({}, consistentEnv());
99+
const env = { ...consistentEnv() };
100100
try {
101101
prefixPath = spawnSync(npmCommand, [
102102
'get',

0 commit comments

Comments
 (0)