Skip to content

Commit 6f7ed31

Browse files
authored
fix(linting): disable prefer-prototype-methods (#228)
1 parent a462734 commit 6f7ed31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ module.exports = {
213213
'unicorn/filename-case': [2, { case: 'snakeCase', ignore: ['.*.md'] }],
214214
// The `sortCharacterClasses` option is not very useful
215215
'unicorn/better-regex': [2, { sortCharacterClasses: false }],
216+
217+
// TODO: enable once https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1343 is fixed
218+
'unicorn/prefer-prototype-methods': 0,
219+
216220
// Too strict
217221
'unicorn/no-null': 0,
218222
'unicorn/no-array-reduce': 0,

0 commit comments

Comments
 (0)