Skip to content

Commit

Permalink
- Linting: Apply existing rules
Browse files Browse the repository at this point in the history
- Linting: Add `.eslintignore` file
- Linting: Use `overrides` for special treatment of config files
- Linting: Remove `no-undefined` rule (not useful in strict mode and with `no-restricted-names` protecting against shadowing; while useful to use `undefined` for explicit array return)
- Linting: Comment out `no-invalid-this` (not practical for jQuery)
- Linting: Comment out `no-ternary` (really want to disable?)
- Linting: Allow `clk_x` and `clk_y` non-camel-cased
- Linting (HTML): Add self-closing tag for non-void `<option>`; add DOCTYPE; consistent/fixed quotes
- Docs: Remove stray quote in CONTRIBUTING (tripping up syntax highlighting in Atom)
- Refactoring/Linting: Throw `Error` object in place of "abort" string
- npm: Add `lint `and `test` script
- npm: Add `eslint` devDep.
  • Loading branch information
brettz9 committed Jul 10, 2020
1 parent 421b0ae commit 729530f
Show file tree
Hide file tree
Showing 13 changed files with 1,588 additions and 4,812 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
Loading

0 comments on commit 729530f

Please sign in to comment.