Skip to content

Commit ce8bf4d

Browse files
committedMay 10, 2020
Removed some deprecated rules
Some of them are added directly in XO through eslint-plugin-node. https://eslint.org/docs/user-guide/migrating-to-7.0.0#node-js-commonjs-rules-have-been-deprecated
1 parent f3c5dd2 commit ce8bf4d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed
 

Diff for: ‎index.js

-18
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,7 @@ module.exports = {
208208
caughtErrorsIgnorePattern: /^_$/.source
209209
}
210210
],
211-
'handle-callback-err': 'warn',
212211
'no-buffer-constructor': 'error',
213-
'no-mixed-requires': [
214-
'error',
215-
{
216-
grouping: true,
217-
allowCall: true
218-
}
219-
],
220-
'no-new-require': 'error',
221-
'no-path-concat': 'error',
222212
'no-restricted-imports': [
223213
'error',
224214
'domain',
@@ -227,14 +217,6 @@ module.exports = {
227217
'sys',
228218
'colors'
229219
],
230-
'no-restricted-modules': [
231-
'error',
232-
'domain',
233-
'freelist',
234-
'smalloc',
235-
'sys',
236-
'colors'
237-
],
238220
'array-bracket-newline': [
239221
'error',
240222
'consistent'

0 commit comments

Comments
 (0)