Skip to content

Commit

Permalink
Clean up ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Apr 24, 2022
1 parent fca3f01 commit e9478db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
6 changes: 1 addition & 5 deletions lib/hacks/autofill.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ class Autofill extends Selector {
super(name, prefixes, all)

if (this.prefixes) {
this.prefixes = utils.uniq(
this.prefixes.map(i => {
return '-webkit-'
})
)
this.prefixes = utils.uniq(this.prefixes.map(() => '-webkit-'))
}
}

Expand Down
6 changes: 1 addition & 5 deletions lib/hacks/file-selector-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ class FileSelectorButton extends Selector {
super(name, prefixes, all)

if (this.prefixes) {
this.prefixes = utils.uniq(
this.prefixes.map(i => {
return '-webkit-'
})
)
this.prefixes = utils.uniq(this.prefixes.map(() => '-webkit-'))
}
}

Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@
"eslintConfig": {
"extends": "@logux/eslint-config",
"rules": {
"node/no-missing-require": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-console": "off"
},
"overrides": [
Expand Down

0 comments on commit e9478db

Please sign in to comment.