summaryrefslogtreecommitdiff
path: root/.eslintrc
AgeCommit message (Collapse)Author
2020-05-18Enabled ESLint's "eqeqeq" rule.Jon Dufresne
https://eslint.org/docs/rules/eqeqeq
2020-05-18Alphabetized ESLint rules.Jon Dufresne
2020-04-29Refs #31493 -- Changed IIFE to ES6 blocks.Jon Dufresne
2020-04-29Fixed #31493 -- Replaced var with const and let keywords in JavaScript.Jon Dufresne
The eslint configuration and the admin script compress.py have been updated for ES6. The unused fallback of globals.django in jquery.init.js was removed. It is always included before jsi18n-mocks.test.js and it always sets the global value.
2020-04-21Improved readability of ESLint configuration.Jon Dufresne
Use "off"/"warn"/"error" instead of 0/1/2.
2015-12-05Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
2015-07-22Fixed JavaScript "no-eval" violation.Tim Graham
2015-07-22Ignored "camelcase", "new-cap", and "quotes" JavaScript rules.Tim Graham
2015-07-22Fixed JavaScript "no-underscore-dangle" violations.Tim Graham
2015-07-22Fixed JavaScript "no-shadow" violations.Tim Graham
2015-07-18Fixed JavaScript "no-octal-escape" violations.Tim Graham
2015-07-18Fixed JavaScript "no-multi-spaces" violations.Tim Graham
2015-07-18Fixed JavaScript "space-infix-ops" violations.Tim Graham
2015-07-18Fixed JavaScript "dot-notation" violations.Tim Graham
2015-07-18Fixed JavaScript "key-spacing" violations.Tim Graham
2015-07-18Fixed JavaScript "comma-spacing" violations.Tim Graham
2015-07-18Fixed JavaScript space-before-function-paren violations.Tim Graham
2015-07-18Fixed JavaScript "curly" violations.Tim Graham
2015-06-27Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig ↵Trey Hunner
and ESLint)