Closed Bug 1401291 Opened 8 years ago Closed 8 years ago

JS files should pass linting

Categories

(developer.mozilla.org Graveyard :: Code Cleanup, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shobson, Assigned: espressive)

Details

Attachments

(4 files)

We have ESLint configured now and it even runs on a pre-commit hook \o/ All our files should pass ESLint. That is a benifit by itself. However, if all files are passing then the pre-commit hook will be more useful because any errors it identifies will be new.
Assignee: nobody → schalk.neethling.bugs
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/1c61194abc14a326ab4e5d9af0b37da2f8432afd Fix Bug 1401291, fixes badges.js and component.js https://github.com/mozilla/kuma/commit/8f41629afbd1e0bd7146ba2164529d65e7cdda26 Merge pull request #4545 from schalkneethling/bug1401291-js-files-should-pass-linting Fix Bug 1401291, fixes badges.js and component.js
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/bde04f8b9e3bae705396bb6ec12bdb151c9b3b3b Fix Bug 1401291, ensure wiki-move.js pass linting https://github.com/mozilla/kuma/commit/ef250e9edf1ccbed069129bce8f4c3028c7e0c0b Merge pull request #4566 from schalkneethling/bug1401291-ensure-wiki-move-pass-linting Fix Bug 1401291, ensure wiki-move.js pass linting
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/625cb677787165e87b77b5e6c84619c626e523e2 Fix Bug 1401291, ensure promote.js and users.js pass linting https://github.com/mozilla/kuma/commit/9159518a424cb1d3ddb0e083e6c0c5bc5cd6cbcf Merge pull request #4565 from schalkneethling/bug1401291-ensure-promote-users-pass-linitng Fix Bug 1401291, ensure promote.js and users.js pass linting
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/f652c14098b18000a6f297b214be8bb90adc1e3e Fix Bug 1401291, ensure dashboard/font-check/fonts.js passes linting https://github.com/mozilla/kuma/commit/b2f071a806af70e4f1678b702f4d6b08e45617a7 Merge pull request #4552 from schalkneethling/bug1401291-ensure-dashboard-fontcheck-fonts-js-pass-linting Fix Bug 1401291, ensure dashboard/font-check/fonts.js passes linting
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/6185b990e5c24791337327e1e4789d15d4869e8f Fix Bug 1401291, ensures main and moz-jquery-plugins pass linting https://github.com/mozilla/kuma/commit/7325fa9137e37662ceb7f2f73677d4ddcc31abbd Merge pull request #4564 from schalkneethling/bug1401291-ensure-main-moz-jquery-plugins-pass-linting Fix Bug 1401291, ensures main and moz-jquery-plugins pass linting
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/dc4a740d20e3feb2896f8c14affc72c547bcb027 Fix Bug 1401291, change warnings to error - eslint https://github.com/mozilla/kuma/commit/65b6438300d4ca631347f36bdf09099d271d62e8 Merge pull request #4597 from schalkneethling/bug1401291-switch-eslint-to-error Fix Bug 1401291, change warnings to error - eslint
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: