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

Commit 6fdffdb

Browse files
authored
Merge pull request #231 from AtomLinter/arcanemagus/update-deps
Update dependencies
2 parents 786a28f + a429afb commit 6fdffdb

File tree

3 files changed

+2133
-2548
lines changed

3 files changed

+2133
-2548
lines changed

lib/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ const getConfig = async (filePath) => {
3333
return null;
3434
};
3535

36-
const phpScopedEditor = editor => (
37-
editor.getCursors().some(cursor => (
38-
cursor.getScopeDescriptor().getScopesArray().some(scope => (
36+
const phpScopedEditor = (editor) => (
37+
editor.getCursors().some((cursor) => (
38+
cursor.getScopeDescriptor().getScopesArray().some((scope) => (
3939
scope === phpEmbeddedScope
4040
))
4141
))
4242
);
4343

44-
const removePHP = str => str.replace(/<\?(?:php|=)?(?:[\s\S])+?\?>/gi, (match) => {
44+
const removePHP = (str) => str.replace(/<\?(?:php|=)?(?:[\s\S])+?\?>/gi, (match) => {
4545
const newlines = match.match(/\r?\n|\r/g);
4646
const newlineCount = newlines ? newlines.length : 0;
4747

@@ -102,7 +102,7 @@ export default {
102102
},
103103

104104
deactivate() {
105-
this.idleCallbacks.forEach(callbackID => window.cancelIdleCallback(callbackID));
105+
this.idleCallbacks.forEach((callbackID) => window.cancelIdleCallback(callbackID));
106106
this.idleCallbacks.clear();
107107
this.subscriptions.dispose();
108108
},

0 commit comments

Comments
 (0)