Skip to content

Commit 3367a21

Browse files
XhmikosRehmicky
andauthored
feat: Enable a few more newer Node.js rules (#397)
* Enable a few more rules * Update .eslintrc.js Co-authored-by: ehmicky <[email protected]>
1 parent f9908d7 commit 3367a21

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.eslintrc.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,6 @@ module.exports = {
220220
// The `sortCharacterClasses` option is not very useful
221221
'unicorn/better-regex': [2, { sortCharacterClasses: false }],
222222

223-
// TODO: enable once https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1343 is fixed
224-
'unicorn/prefer-prototype-methods': 0,
225-
226223
// Too strict
227224
'unicorn/no-null': 0,
228225
'unicorn/no-array-reduce': 0,
@@ -243,13 +240,6 @@ module.exports = {
243240
// TODO: enable those rules
244241
'unicorn/no-process-exit': 0,
245242
'unicorn/import-style': 0,
246-
// TODO: enable after dropping Node 8 support
247-
'unicorn/prefer-optional-catch-binding': 0,
248-
'unicorn/prefer-string-trim-start-end': 0,
249-
// TODO: enable after dropping Node <12 support
250-
'unicorn/numeric-separators-style': 0,
251-
'unicorn/prefer-array-flat': 0,
252-
'unicorn/prefer-array-flat-map': 0,
253243
},
254244
overrides: [
255245
{

0 commit comments

Comments
 (0)