Skip to content

Commit

Permalink
Upgrade: ESLint v6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Jan 3, 2020
1 parent 24c22be commit 014ba0e
Show file tree
Hide file tree
Showing 9 changed files with 576 additions and 231 deletions.
13 changes: 6 additions & 7 deletions .eslintrc.yml
Expand Up @@ -3,13 +3,12 @@ extends:
- semistandard
- plugin:prettier/recommended
env:
node: yes
browser: yes
node: true
browser: true
parserOptions:
ecmaVersion: 5
ecmaFeatures:
globalReturn: no
jsx: no
jsx: false
sourceType: script
rules:
strict:
Expand All @@ -31,14 +30,14 @@ overrides:
parserOptions:
ecmaVersion: 2017
env:
browser: no
browser: false

- files:
- test/**/*.{js,mjs}
env:
mocha: yes
mocha: true
globals:
expect: no
expect: readonly
- files:
- bin/*
- lib/**/*.js
Expand Down
2 changes: 1 addition & 1 deletion browser-entry.js
Expand Up @@ -129,7 +129,7 @@ mocha.setup = function(opts) {
opts = {ui: opts};
}
for (var opt in opts) {
if (opts.hasOwnProperty(opt)) {
if (Object.prototype.hasOwnProperty.call(opts, opt)) {
this[opt](opts[opt]);
}
}
Expand Down

0 comments on commit 014ba0e

Please sign in to comment.