Skip to content

Commit

Permalink
add eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Mar 18, 2022
1 parent 03845ea commit fe04eab
Show file tree
Hide file tree
Showing 4 changed files with 580 additions and 1,465 deletions.
23 changes: 23 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
env:
es6: true
node: true
mocha: true

root: true

rules:
semi: [ warn, always ]
no-unreachable: [ warn ]
no-unused-vars: [ warn, { args: none } ]
no-useless-escape: [ warn ]
no-undef: [ warn ]
no-redeclare: [ warn ]
no-constant-condition: [ warn ]
no-prototype-builtins: [ warn ]
no-trailing-spaces: [ warn ]

parserOptions:
ecmaVersion: 2020

extends:
- eslint:recommended
1 change: 0 additions & 1 deletion docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fe04eab

Please sign in to comment.