summaryrefslogtreecommitdiff
path: root/.eslintrc
Commit message (Collapse)AuthorAgeFilesLines
* Enabled ESLint's "eqeqeq" rule.Jon Dufresne2020-05-181-0/+1
| | | | https://eslint.org/docs/rules/eqeqeq
* Alphabetized ESLint rules.Jon Dufresne2020-05-181-5/+5
|
* Refs #31493 -- Changed IIFE to ES6 blocks.Jon Dufresne2020-04-291-1/+1
|
* Fixed #31493 -- Replaced var with const and let keywords in JavaScript.Jon Dufresne2020-04-291-1/+4
| | | | | | | | | 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.
* Improved readability of ESLint configuration.Jon Dufresne2020-04-211-23/+23
| | | Use "off"/"warn"/"error" instead of 0/1/2.
* Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger2015-12-051-1/+1
| | | | | | | This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
* Fixed JavaScript "no-eval" violation.Tim Graham2015-07-221-1/+1
|
* Ignored "camelcase", "new-cap", and "quotes" JavaScript rules.Tim Graham2015-07-221-22/+7
|
* Fixed JavaScript "no-underscore-dangle" violations.Tim Graham2015-07-221-1/+1
|
* Fixed JavaScript "no-shadow" violations.Tim Graham2015-07-221-1/+1
|
* Fixed JavaScript "no-octal-escape" violations.Tim Graham2015-07-181-1/+1
|
* Fixed JavaScript "no-multi-spaces" violations.Tim Graham2015-07-181-1/+1
|
* Fixed JavaScript "space-infix-ops" violations.Tim Graham2015-07-181-4/+1
|
* Fixed JavaScript "dot-notation" violations.Tim Graham2015-07-181-1/+1
|
* Fixed JavaScript "key-spacing" violations.Tim Graham2015-07-181-1/+1
|
* Fixed JavaScript "comma-spacing" violations.Tim Graham2015-07-181-1/+1
|
* Fixed JavaScript space-before-function-paren violations.Tim Graham2015-07-181-1/+1
|
* Fixed JavaScript "curly" violations.Tim Graham2015-07-181-2/+2
|
* Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig ↵Trey Hunner2015-06-271-0/+51
and ESLint)