refactor: remove eslint-plugin-node
(#162)
This commit is contained in:
parent
7a5daf6f38
commit
3f13db706b
@ -49,7 +49,6 @@ module.exports = {
|
|||||||
'antfu',
|
'antfu',
|
||||||
'no-only-tests',
|
'no-only-tests',
|
||||||
'unused-imports',
|
'unused-imports',
|
||||||
'node',
|
|
||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
'import/resolver': {
|
'import/resolver': {
|
||||||
@ -317,8 +316,9 @@ module.exports = {
|
|||||||
'max-statements-per-line': ['error', { max: 1 }],
|
'max-statements-per-line': ['error', { max: 1 }],
|
||||||
|
|
||||||
// node
|
// node
|
||||||
// 'node/prefer-global/process': ['error', 'never'], // Not sure if we need it as we are using `process.env.NODE_ENV` a lot in front-end.
|
// 'n/prefer-global/process': ['error', 'never'], // Not sure if we need it as we are using `process.env.NODE_ENV` a lot in front-end.
|
||||||
'node/prefer-global/buffer': ['error', 'never'],
|
'n/prefer-global/buffer': ['error', 'never'],
|
||||||
|
'n/no-callback-literal': 'off',
|
||||||
|
|
||||||
// unicorns
|
// unicorns
|
||||||
// Pass error message when throwing errors
|
// Pass error message when throwing errors
|
||||||
@ -351,7 +351,6 @@ module.exports = {
|
|||||||
'import/no-named-as-default-member': 'off',
|
'import/no-named-as-default-member': 'off',
|
||||||
'import/no-named-as-default': 'off',
|
'import/no-named-as-default': 'off',
|
||||||
'import/namespace': 'off',
|
'import/namespace': 'off',
|
||||||
'n/no-callback-literal': 'off',
|
|
||||||
|
|
||||||
'sort-imports': [
|
'sort-imports': [
|
||||||
'error',
|
'error',
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
"eslint-plugin-markdown": "^3.0.0",
|
"eslint-plugin-markdown": "^3.0.0",
|
||||||
"eslint-plugin-n": "^15.7.0",
|
"eslint-plugin-n": "^15.7.0",
|
||||||
"eslint-plugin-no-only-tests": "^3.1.0",
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
||||||
"eslint-plugin-node": "^11.1.0",
|
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"eslint-plugin-unicorn": "^46.0.0",
|
"eslint-plugin-unicorn": "^46.0.0",
|
||||||
"eslint-plugin-unused-imports": "^2.0.0",
|
"eslint-plugin-unused-imports": "^2.0.0",
|
||||||
|
@ -98,9 +98,6 @@ importers:
|
|||||||
eslint-plugin-no-only-tests:
|
eslint-plugin-no-only-tests:
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.1.0
|
version: 3.1.0
|
||||||
eslint-plugin-node:
|
|
||||||
specifier: ^11.1.0
|
|
||||||
version: 11.1.0(eslint@8.37.0)
|
|
||||||
eslint-plugin-promise:
|
eslint-plugin-promise:
|
||||||
specifier: ^6.1.1
|
specifier: ^6.1.1
|
||||||
version: 6.1.1(eslint@8.37.0)
|
version: 6.1.1(eslint@8.37.0)
|
||||||
@ -1611,17 +1608,6 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/eslint-plugin-es@3.0.1(eslint@8.37.0):
|
|
||||||
resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==}
|
|
||||||
engines: {node: '>=8.10.0'}
|
|
||||||
peerDependencies:
|
|
||||||
eslint: '>=4.19.1'
|
|
||||||
dependencies:
|
|
||||||
eslint: 8.37.0
|
|
||||||
eslint-utils: 2.1.0
|
|
||||||
regexpp: 3.2.0
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/eslint-plugin-es@4.1.0(eslint@8.37.0):
|
/eslint-plugin-es@4.1.0(eslint@8.37.0):
|
||||||
resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==}
|
resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==}
|
||||||
engines: {node: '>=8.10.0'}
|
engines: {node: '>=8.10.0'}
|
||||||
@ -1750,21 +1736,6 @@ packages:
|
|||||||
engines: {node: '>=5.0.0'}
|
engines: {node: '>=5.0.0'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/eslint-plugin-node@11.1.0(eslint@8.37.0):
|
|
||||||
resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==}
|
|
||||||
engines: {node: '>=8.10.0'}
|
|
||||||
peerDependencies:
|
|
||||||
eslint: '>=5.16.0'
|
|
||||||
dependencies:
|
|
||||||
eslint: 8.37.0
|
|
||||||
eslint-plugin-es: 3.0.1(eslint@8.37.0)
|
|
||||||
eslint-utils: 2.1.0
|
|
||||||
ignore: 5.2.4
|
|
||||||
minimatch: 3.1.2
|
|
||||||
resolve: 1.22.1
|
|
||||||
semver: 6.3.0
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/eslint-plugin-promise@6.1.1(eslint@8.37.0):
|
/eslint-plugin-promise@6.1.1(eslint@8.37.0):
|
||||||
resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==}
|
resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
|
Loading…
Reference in New Issue
Block a user