Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_32_STABLE
-
MDL-54889-master -
Description
Once MDL-52127 lands, we should stop using using jshint for everything but shifter because eslint is doing the same job plus more. This task is for that.
General work required:
- Completely remove jshint from grunt builds
- Stop using jshint in prechecker and switch to eslint (
MDLSITE-3782will enable eslint when available in core) - Consider if we need to leave the .jshintrc in place (probably yes, so we get the results from shifter)
Attachments
Issue Links
- blocks
-
MDL-55048 Upgrade grunt and npm dependencies (and add travis checks on node version variants)
-
- Closed
-
- has been marked as being related by
-
MDL-55131 Unicorn, a potentially modern shifter replacement
-
- Closed
-
- is blocked by
-
MDL-55050 grunt watch causes eslint of all files on any js change.
-
- Closed
-
-
MDLSITE-3782 Prechecker jshint check can lead to lots of false positives
-
- Closed
-
-
MDL-52127 Check Moodle JS coding style with eslint
-
- Closed
-