Skip to content

Commit

Permalink
Merge pull request #8 from papandreou/depfu/update/npm/eslint-config-…
Browse files Browse the repository at this point in the history
…standard-14.1.1

Upgrade eslint-config-standard to version 14.1.1
  • Loading branch information
papandreou committed Mar 22, 2020
2 parents 5241abc + 1aec832 commit c0abd53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ create.supports = create.isSupported = name => {
if (typeof name === 'object' && name) {
name = name.system;
}
return CounterClassByType.hasOwnProperty(name.toLowerCase());
return Object.prototype.hasOwnProperty.call(
CounterClassByType,
name.toLowerCase()
);
};

for (const Class of [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"coveralls": "^3.0.7",
"eslint": "^6.0.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-mocha": "^6.2.1",
"eslint-plugin-node": "^11.0.0",
Expand Down

0 comments on commit c0abd53

Please sign in to comment.