Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: ESLint v6.8 #4138

Merged
merged 1 commit into from Feb 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
juergba marked this conversation as resolved.
Show resolved Hide resolved
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)) {
juergba marked this conversation as resolved.
Show resolved Hide resolved
this[opt](opts[opt]);
}
}
Expand Down