forked from mdn/content
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure eslint and standardize the stylequide all over the js examp…
…les (mdn#1579) * configure eslint * fix eslint errors * rename class * add missing curly braces * add missing empty line * allow one line declaration in specific file * allow missing block after for * enforce eol as last character * enforce template literals * enforce no-var eslint rule * enforce prefer-arrow-callback eslint rule * enforce comma-spacing eslint rule * enforce comma-style eslint rule * enforce func-call-spacing eslint rule * enforce key-spacing eslint rule * enforce keyword-spacing eslint rule * enforce no-multiple-empty-lines eslint rule * enforce no-trailing-spaces eslint rule * enforce space-before-function-paren eslint rule * enforce indentation within switch statements * enforce 1tbs brace-style with allowSingleLine option * enforce no-array-constructor eslint rule * enforce no-new-object eslint rule * enforce space-infix-ops eslint rule * enforce no-else-return eslint rule * add styleguide check to travis * add syntax highlight to the contributing md * adjust styleguide in the contributing md * remove osolated examples from the contribution guidelines * remove unnecessary empty lines from contribution guidelines * add override example to the contribution guidelines * remove outdated styleguide hints
- Loading branch information
Showing
129 changed files
with
532 additions
and
429 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.