Last active
May 11, 2016 22:36
-
-
Save danpoltawski/c80d4f0d6dd8cf42f21a1ef13fedecc0 to your computer and use it in GitHub Desktop.
eslint ignores for entire codebase run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/.eslintignore b/.eslintignore | |
| index a682167..0e1ed1a 100644 | |
| --- a/.eslintignore | |
| +++ b/.eslintignore | |
| @@ -4,3 +4,13 @@ lib/amd/src/loglevel.js | |
| lib/editor/atto/yui/src/rangy/ | |
| **/yui/src/*/meta/*.js | |
| lib/yui/src/notification/js/shared.js | |
| +**/yui/build/* | |
| +**/yuilib/* | |
| +**/amd/build/* | |
| +lib/editor/tinymce/* | |
| +lib/flowplayer/* | |
| +lib/jquery/* | |
| +lib/requirejs/* | |
| +node_modules/* | |
| +vendor/* | |
| +theme/bootstrapbase/javascript/html5shiv.js | |
| diff --git a/.eslintrc b/.eslintrc | |
| index 37a3518..85f0026 100644 | |
| --- a/.eslintrc | |
| +++ b/.eslintrc | |
| @@ -4,7 +4,9 @@ | |
| 'amd': true | |
| }, | |
| 'globals': { | |
| - 'M': true | |
| + 'M': true, | |
| + 'YUI': true, | |
| + 'Y': true, | |
| }, | |
| 'rules': { | |
| // See http://eslint.org/docs/rules/ for all rules and explanations of all | |
| @@ -17,7 +19,6 @@ | |
| 'no-constant-condition': 'error', | |
| 'no-control-regex': 'error', | |
| 'no-debugger': 'error', | |
| - 'no-empty': 'error', | |
| 'no-empty-character-class': 'error', | |
| 'no-ex-assign': 'error', | |
| 'no-extra-boolean-cast': 'error', | |
| @@ -63,8 +64,6 @@ | |
| // === Variables === | |
| 'no-delete-var': 'error', | |
| - 'no-undef': 'error', | |
| - 'no-unused-vars': 'error', | |
| // === Stylistic Issues === | |
| 'array-bracket-spacing': 'warn', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment