Skip to content

Commit

Permalink
Fix ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aswitalski committed Mar 12, 2020
1 parent 22aa8e8 commit adb2b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
],
"no-else-return": "error",
"no-extra-boolean-cast": "off",
"no-fallthrough": [
"error",
{
"commentPattern": "falls?(\\s|\\-)?through"
}
],
"no-fallthrough": "error",
"no-invalid-this": "error",
"no-multi-spaces": "error",
"no-undef": "off",
Expand Down
1 change: 1 addition & 0 deletions src/core/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ limitations under the License.
}

hasOwnMethod(method) {
// eslint-disable-next-line no-prototype-builtins
return this.constructor.prototype.hasOwnProperty(method);
}

Expand Down

0 comments on commit adb2b35

Please sign in to comment.