Skip to content

Commit

Permalink
Replace eslint-plugin-node and bump outdated packages (#136)
Browse files Browse the repository at this point in the history
* Bump outdated packages

* Replace unmaintained eslint-plugin-node with eslint-plugin-n
  • Loading branch information
nboxhallburnett authored Feb 23, 2023
1 parent 047290f commit a8f8bd3
Show file tree
Hide file tree
Showing 3 changed files with 962 additions and 482 deletions.
26 changes: 13 additions & 13 deletions env-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ module.exports = {
'ecmaVersion': 2021
},
'plugins': [
'node'
'n'
],
'extends': './index.js',
'rules': {
'node/no-deprecated-api': 'warn',
'node/no-unpublished-bin': 'warn',
'node/no-unsupported-features/es-builtins': 'warn',
'node/no-unsupported-features/es-syntax': [ 'warn', { ignores: [ 'modules' ] } ],
'node/prefer-global/buffer': 'warn',
'node/prefer-global/console': 'warn',
'node/prefer-global/process': 'warn',
'node/prefer-global/text-decoder': 'warn',
'node/prefer-global/text-encoder': 'warn',
'node/prefer-global/url-search-params': 'warn',
'node/prefer-global/url': 'warn',
'node/process-exit-as-throw': 'warn'
'n/no-deprecated-api': 'warn',
'n/no-unpublished-bin': 'warn',
'n/no-unsupported-features/es-builtins': 'warn',
'n/no-unsupported-features/es-syntax': [ 'warn', { ignores: [ 'modules' ] } ],
'n/prefer-global/buffer': 'warn',
'n/prefer-global/console': 'warn',
'n/prefer-global/process': 'warn',
'n/prefer-global/text-decoder': 'warn',
'n/prefer-global/text-encoder': 'warn',
'n/prefer-global/url-search-params': 'warn',
'n/prefer-global/url': 'warn',
'n/process-exit-as-throw': 'warn'
}
};
Loading

0 comments on commit a8f8bd3

Please # to comment.