Skip to content

Commit 4f063bd

Browse files
authored
Eslint goes to es6 (#289)
* Reconfiguration of eslint to work in ES6 environment and changes on some rules to get closer to WP standards while retaining the specificity of JavaScript * fixes #285 replace deprecated chrome.extension.getURL with chrome.runtime.getURL * add missing global functions to eslint * correction of #289 (comment) * revert jquery.bind-first.js to previous version and add eslintignore file to ignore dompurify, jquery.bind-first and keymaster * move spaces #289 (comment) * changing eslint rule for object alignment so that they are more readables
1 parent e0576d0 commit 4f063bd

14 files changed

+1800
-1552
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Dependencies
2+
js/dompurify.js
3+
js/jquery.bind-first.js
4+
js/keymaster.js

0 commit comments

Comments
 (0)