Restore eslint dep

This commit is contained in:
roykho 2021-12-14 12:22:50 -08:00
parent 76794e374c
commit 47e39bcafc
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
4 changed files with 42 additions and 124 deletions

View File

@ -18,7 +18,7 @@ module.exports = {
'max-len': [ 2, { code: 140 } ],
'no-console': 1,
},
parser: '@babel/eslint-parser',
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 8,
ecmaFeatures: {

View File

@ -19,7 +19,7 @@ module.exports = {
'max-len': [ 2, { 'code': 140 } ],
'no-console': 1
},
parser: '@babel/eslint-parser',
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 8,
ecmaFeatures: {

View File

@ -33,7 +33,7 @@
"devDependencies": {
"@babel/cli": "7.12.8",
"@babel/core": "7.12.9",
"@babel/eslint-parser": "^7.16.5",
"babel-eslint": "10.1.0",
"@babel/preset-env": "7.12.7",
"@babel/register": "7.12.1",
"@typescript-eslint/eslint-plugin": "3.10.1",

View File

@ -184,7 +184,6 @@ importers:
specifiers:
'@babel/cli': 7.12.8
'@babel/core': 7.12.9
'@babel/eslint-parser': ^7.16.5
'@babel/preset-env': 7.12.7
'@babel/register': 7.12.1
'@typescript-eslint/eslint-plugin': 3.10.1
@ -201,6 +200,7 @@ importers:
'@wordpress/eslint-plugin': 7.3.0
'@wordpress/stylelint-config': 19.1.0
autoprefixer: 9.8.6
babel-eslint: 10.1.0
chai: 4.2.0
chai-as-promised: 7.1.1
config: 3.3.3
@ -224,7 +224,6 @@ importers:
devDependencies:
'@babel/cli': 7.12.8_@babel+core@7.12.9
'@babel/core': 7.12.9
'@babel/eslint-parser': 7.16.5_@babel+core@7.12.9+eslint@6.8.0
'@babel/preset-env': 7.12.7_@babel+core@7.12.9
'@babel/register': 7.12.1_@babel+core@7.12.9
'@typescript-eslint/eslint-plugin': 3.10.1_aab05197bc2ab2306ca58e96baf5381b
@ -241,6 +240,7 @@ importers:
'@wordpress/eslint-plugin': 7.3.0_eslint@6.8.0+typescript@3.9.7
'@wordpress/stylelint-config': 19.1.0_stylelint@13.13.1
autoprefixer: 9.8.6
babel-eslint: 10.1.0_eslint@6.8.0
chai: 4.2.0
chai-as-promised: 7.1.1_chai@4.2.0
config: 3.3.3
@ -367,6 +367,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
'@babel/highlight': 7.16.0
dev: true
/@babel/code-frame/7.16.0:
resolution: {integrity: sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==}
@ -415,9 +416,9 @@ packages:
'@babel/helper-compilation-targets': 7.15.4_@babel+core@7.15.8
'@babel/helper-module-transforms': 7.15.8
'@babel/helpers': 7.15.4
'@babel/parser': 7.16.2
'@babel/parser': 7.16.4
'@babel/template': 7.16.0
'@babel/traverse': 7.16.0
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
convert-source-map: 1.8.0
debug: 4.3.2
@ -451,20 +452,6 @@ packages:
transitivePeerDependencies:
- supports-color
/@babel/eslint-parser/7.16.5_@babel+core@7.12.9+eslint@6.8.0:
resolution: {integrity: sha512-mUqYa46lgWqHKQ33Q6LNCGp/wPR3eqOYTUixHFsfrSQqRxH0+WOzca75iEjFr5RDGH1dDz622LaHhLOzOuQRUA==}
engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0}
peerDependencies:
'@babel/core': '>=7.11.0'
eslint: ^7.5.0 || ^8.0.0
dependencies:
'@babel/core': 7.12.9
eslint: 6.8.0
eslint-scope: 5.1.1
eslint-visitor-keys: 2.1.0
semver: 6.3.0
dev: true
/@babel/generator/7.16.0:
resolution: {integrity: sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==}
engines: {node: '>=6.9.0'}
@ -547,11 +534,11 @@ packages:
dependencies:
'@babel/core': 7.12.9
'@babel/helper-annotate-as-pure': 7.15.4
'@babel/helper-function-name': 7.15.4
'@babel/helper-function-name': 7.16.0
'@babel/helper-member-expression-to-functions': 7.15.4
'@babel/helper-optimise-call-expression': 7.15.4
'@babel/helper-replace-supers': 7.15.4
'@babel/helper-split-export-declaration': 7.15.4
'@babel/helper-split-export-declaration': 7.16.0
transitivePeerDependencies:
- supports-color
dev: true
@ -564,11 +551,11 @@ packages:
dependencies:
'@babel/core': 7.15.8
'@babel/helper-annotate-as-pure': 7.15.4
'@babel/helper-function-name': 7.15.4
'@babel/helper-function-name': 7.16.0
'@babel/helper-member-expression-to-functions': 7.15.4
'@babel/helper-optimise-call-expression': 7.15.4
'@babel/helper-replace-supers': 7.15.4
'@babel/helper-split-export-declaration': 7.15.4
'@babel/helper-split-export-declaration': 7.16.0
transitivePeerDependencies:
- supports-color
dev: true
@ -664,7 +651,7 @@ packages:
'@babel/helper-compilation-targets': 7.15.4_@babel+core@7.15.8
'@babel/helper-module-imports': 7.15.4
'@babel/helper-plugin-utils': 7.14.5
'@babel/traverse': 7.16.0
'@babel/traverse': 7.16.3
debug: 4.3.2
lodash.debounce: 4.0.8
resolve: 1.20.0
@ -703,15 +690,6 @@ packages:
dependencies:
'@babel/types': 7.16.0
/@babel/helper-function-name/7.15.4:
resolution: {integrity: sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/helper-get-function-arity': 7.16.0
'@babel/template': 7.16.0
'@babel/types': 7.16.0
dev: true
/@babel/helper-function-name/7.16.0:
resolution: {integrity: sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==}
engines: {node: '>=6.9.0'}
@ -726,13 +704,6 @@ packages:
dependencies:
'@babel/types': 7.16.0
/@babel/helper-hoist-variables/7.15.4:
resolution: {integrity: sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.16.0
dev: true
/@babel/helper-hoist-variables/7.16.0:
resolution: {integrity: sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==}
engines: {node: '>=6.9.0'}
@ -743,7 +714,7 @@ packages:
resolution: {integrity: sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.15.6
'@babel/types': 7.16.0
dev: true
/@babel/helper-member-expression-to-functions/7.16.0:
@ -775,7 +746,7 @@ packages:
'@babel/helper-split-export-declaration': 7.16.0
'@babel/helper-validator-identifier': 7.15.7
'@babel/template': 7.16.0
'@babel/traverse': 7.16.0
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
transitivePeerDependencies:
- supports-color
@ -800,7 +771,7 @@ packages:
resolution: {integrity: sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.15.6
'@babel/types': 7.16.0
dev: true
/@babel/helper-optimise-call-expression/7.16.0:
@ -840,7 +811,7 @@ packages:
dependencies:
'@babel/helper-member-expression-to-functions': 7.16.0
'@babel/helper-optimise-call-expression': 7.16.0
'@babel/traverse': 7.16.0
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
transitivePeerDependencies:
- supports-color
@ -883,13 +854,6 @@ packages:
dependencies:
'@babel/types': 7.16.0
/@babel/helper-split-export-declaration/7.15.4:
resolution: {integrity: sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.16.0
dev: true
/@babel/helper-split-export-declaration/7.16.0:
resolution: {integrity: sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==}
engines: {node: '>=6.9.0'}
@ -910,7 +874,7 @@ packages:
dependencies:
'@babel/helper-function-name': 7.16.0
'@babel/template': 7.16.0
'@babel/traverse': 7.16.0
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
transitivePeerDependencies:
- supports-color
@ -932,7 +896,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
'@babel/template': 7.16.0
'@babel/traverse': 7.16.0
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
transitivePeerDependencies:
- supports-color
@ -956,18 +920,6 @@ packages:
chalk: 2.4.2
js-tokens: 4.0.0
/@babel/parser/7.15.8:
resolution: {integrity: sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==}
engines: {node: '>=6.0.0'}
hasBin: true
dev: true
/@babel/parser/7.16.2:
resolution: {integrity: sha512-RUVpT0G2h6rOZwqLDTrKk7ksNv7YpAilTnYe1/Q+eDjxEceRMKVWbCsX7t8h6C1qCFi/1Y8WZjcEPBAFG27GPw==}
engines: {node: '>=6.0.0'}
hasBin: true
dev: true
/@babel/parser/7.16.4:
resolution: {integrity: sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==}
engines: {node: '>=6.0.0'}
@ -2077,11 +2029,11 @@ packages:
dependencies:
'@babel/core': 7.12.9
'@babel/helper-annotate-as-pure': 7.15.4
'@babel/helper-function-name': 7.15.4
'@babel/helper-function-name': 7.16.0
'@babel/helper-optimise-call-expression': 7.15.4
'@babel/helper-plugin-utils': 7.14.5
'@babel/helper-replace-supers': 7.15.4
'@babel/helper-split-export-declaration': 7.15.4
'@babel/helper-split-export-declaration': 7.16.0
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@ -2095,11 +2047,11 @@ packages:
dependencies:
'@babel/core': 7.15.8
'@babel/helper-annotate-as-pure': 7.15.4
'@babel/helper-function-name': 7.15.4
'@babel/helper-function-name': 7.16.0
'@babel/helper-optimise-call-expression': 7.15.4
'@babel/helper-plugin-utils': 7.14.5
'@babel/helper-replace-supers': 7.15.4
'@babel/helper-split-export-declaration': 7.15.4
'@babel/helper-split-export-declaration': 7.16.0
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@ -2309,7 +2261,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.12.9
'@babel/helper-function-name': 7.15.4
'@babel/helper-function-name': 7.16.0
'@babel/helper-plugin-utils': 7.14.5
dev: true
@ -2320,7 +2272,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.15.8
'@babel/helper-function-name': 7.15.4
'@babel/helper-function-name': 7.16.0
'@babel/helper-plugin-utils': 7.14.5
dev: true
@ -2484,7 +2436,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.12.9
'@babel/helper-hoist-variables': 7.15.4
'@babel/helper-hoist-variables': 7.16.0
'@babel/helper-module-transforms': 7.15.8
'@babel/helper-plugin-utils': 7.14.5
'@babel/helper-validator-identifier': 7.15.7
@ -2500,7 +2452,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.15.8
'@babel/helper-hoist-variables': 7.15.4
'@babel/helper-hoist-variables': 7.16.0
'@babel/helper-module-transforms': 7.15.8
'@babel/helper-plugin-utils': 7.14.5
'@babel/helper-validator-identifier': 7.15.7
@ -3318,7 +3270,7 @@ packages:
'@babel/helper-plugin-utils': 7.14.5
'@babel/plugin-proposal-unicode-property-regex': 7.14.5_@babel+core@7.12.9
'@babel/plugin-transform-dotall-regex': 7.14.5_@babel+core@7.12.9
'@babel/types': 7.15.6
'@babel/types': 7.16.0
esutils: 2.0.3
dev: true
@ -3331,7 +3283,7 @@ packages:
'@babel/helper-plugin-utils': 7.14.5
'@babel/plugin-proposal-unicode-property-regex': 7.14.5_@babel+core@7.15.8
'@babel/plugin-transform-dotall-regex': 7.14.5_@babel+core@7.15.8
'@babel/types': 7.15.6
'@babel/types': 7.16.0
esutils: 2.0.3
dev: true
@ -3401,40 +3353,6 @@ packages:
'@babel/parser': 7.16.4
'@babel/types': 7.16.0
/@babel/traverse/7.15.4:
resolution: {integrity: sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/code-frame': 7.16.0
'@babel/generator': 7.16.0
'@babel/helper-function-name': 7.16.0
'@babel/helper-hoist-variables': 7.16.0
'@babel/helper-split-export-declaration': 7.16.0
'@babel/parser': 7.16.2
'@babel/types': 7.16.0
debug: 4.3.2
globals: 11.12.0
transitivePeerDependencies:
- supports-color
dev: true
/@babel/traverse/7.16.0:
resolution: {integrity: sha512-qQ84jIs1aRQxaGaxSysII9TuDaguZ5yVrEuC0BN2vcPlalwfLovVmCjbFDPECPXcYM/wLvNFfp8uDOliLxIoUQ==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/code-frame': 7.16.0
'@babel/generator': 7.16.0
'@babel/helper-function-name': 7.16.0
'@babel/helper-hoist-variables': 7.16.0
'@babel/helper-split-export-declaration': 7.16.0
'@babel/parser': 7.16.2
'@babel/types': 7.16.0
debug: 4.3.2
globals: 11.12.0
transitivePeerDependencies:
- supports-color
dev: true
/@babel/traverse/7.16.3:
resolution: {integrity: sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==}
engines: {node: '>=6.9.0'}
@ -6952,10 +6870,10 @@ packages:
peerDependencies:
eslint: '>= 4.12.1'
dependencies:
'@babel/code-frame': 7.15.8
'@babel/parser': 7.15.8
'@babel/traverse': 7.15.4
'@babel/types': 7.15.6
'@babel/code-frame': 7.16.0
'@babel/parser': 7.16.4
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
eslint: 6.8.0
eslint-visitor-keys: 1.3.0
resolve: 1.20.0
@ -6970,10 +6888,10 @@ packages:
peerDependencies:
eslint: '>= 4.12.1'
dependencies:
'@babel/code-frame': 7.15.8
'@babel/parser': 7.15.8
'@babel/traverse': 7.15.4
'@babel/types': 7.15.6
'@babel/code-frame': 7.16.0
'@babel/parser': 7.16.4
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
eslint: 7.32.0
eslint-visitor-keys: 1.3.0
resolve: 1.20.0
@ -6988,10 +6906,10 @@ packages:
peerDependencies:
eslint: '>= 4.12.1'
dependencies:
'@babel/code-frame': 7.15.8
'@babel/parser': 7.15.8
'@babel/traverse': 7.15.4
'@babel/types': 7.15.6
'@babel/code-frame': 7.16.0
'@babel/parser': 7.16.4
'@babel/traverse': 7.16.3
'@babel/types': 7.16.0
eslint: 8.1.0
eslint-visitor-keys: 1.3.0
resolve: 1.20.0
@ -13955,7 +13873,7 @@ packages:
resolution: {integrity: sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==}
engines: {node: '>= 10.14.2'}
dependencies:
'@babel/code-frame': 7.15.8
'@babel/code-frame': 7.16.0
'@jest/types': 26.6.2
'@types/stack-utils': 2.0.1
chalk: 4.1.2