xo 0.46.4 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/plugins.cjs +2 -7
- package/index.js +7 -1
- package/node_modules/@typescript-eslint/eslint-plugin/README.md +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +2 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +10 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +5 -24
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeReadonly.js +4 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeReadonly.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +159 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +5 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +0 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +29 -26
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +2 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +4 -4
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/predicates.d.ts +12 -12
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.d.ts +30 -8
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.js +36 -8
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.js.map +1 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/Rule.d.ts +2 -2
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/Rule.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/experimental-utils/package.json +5 -5
- package/node_modules/@typescript-eslint/parser/package.json +6 -6
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +2 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
- package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts +21 -7
- package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/ast-spec.js +1 -0
- package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +1 -1
- package/node_modules/@typescript-eslint/types/package.json +2 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +23 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +2 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -5
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +2 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
- package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
- package/node_modules/eslint-visitor-keys/README.md +3 -2
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +3 -0
- package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +3 -0
- package/node_modules/eslint-visitor-keys/package.json +2 -2
- package/package.json +15 -15
- package/node_modules/@typescript-eslint/eslint-plugin/CHANGELOG.md +0 -2294
- package/node_modules/@typescript-eslint/experimental-utils/CHANGELOG.md +0 -1269
- package/node_modules/@typescript-eslint/parser/CHANGELOG.md +0 -1291
- package/node_modules/@typescript-eslint/scope-manager/CHANGELOG.md +0 -681
- package/node_modules/@typescript-eslint/types/CHANGELOG.md +0 -661
- package/node_modules/@typescript-eslint/typescript-estree/CHANGELOG.md +0 -1492
- package/node_modules/@typescript-eslint/visitor-keys/CHANGELOG.md +0 -630
- package/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -42
|
@@ -17,7 +17,8 @@ $ npm install eslint-visitor-keys
|
|
|
17
17
|
|
|
18
18
|
### Requirements
|
|
19
19
|
|
|
20
|
-
- [Node.js]
|
|
20
|
+
- [Node.js] `^12.22.0`, `^14.17.0`, or `>=16.0.0`
|
|
21
|
+
|
|
21
22
|
|
|
22
23
|
## 📖 Usage
|
|
23
24
|
|
|
@@ -102,5 +103,5 @@ Welcome. See [ESLint contribution guidelines](https://eslint.org/docs/developer-
|
|
|
102
103
|
|
|
103
104
|
|
|
104
105
|
[npm]: https://www.npmjs.com/
|
|
105
|
-
[Node.js]: https://nodejs.org/
|
|
106
|
+
[Node.js]: https://nodejs.org/
|
|
106
107
|
[ESTree]: https://github.com/estree/estree
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-visitor-keys",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Constants and utilities about visitor keys to traverse AST.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/eslint-visitor-keys.cjs",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"eslint-config-eslint": "^7.0.0",
|
|
28
28
|
"eslint-plugin-jsdoc": "^35.4.0",
|
|
29
29
|
"eslint-plugin-node": "^11.1.0",
|
|
30
|
-
"eslint-release": "^3.
|
|
30
|
+
"eslint-release": "^3.2.0",
|
|
31
31
|
"mocha": "^9.0.1",
|
|
32
32
|
"opener": "^1.5.2",
|
|
33
33
|
"rollup": "^2.52.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "JavaScript/TypeScript linter (ESLint wrapper) with great defaults",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "xojs/xo",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"eslint-config-xo-typescript"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint/eslintrc": "^1.0.
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
63
|
-
"@typescript-eslint/parser": "^5.
|
|
61
|
+
"@eslint/eslintrc": "^1.0.4",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
63
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
64
64
|
"arrify": "^3.0.0",
|
|
65
65
|
"cosmiconfig": "^7.0.1",
|
|
66
66
|
"define-lazy-prop": "^3.0.0",
|
|
67
|
-
"eslint": "^8.
|
|
67
|
+
"eslint": "^8.3.0",
|
|
68
68
|
"eslint-config-prettier": "^8.3.0",
|
|
69
69
|
"eslint-config-xo": "^0.39.0",
|
|
70
70
|
"eslint-config-xo-typescript": "^0.47.1",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
73
73
|
"eslint-plugin-ava": "^13.1.0",
|
|
74
74
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
75
|
-
"eslint-plugin-import": "^2.25.
|
|
75
|
+
"eslint-plugin-import": "^2.25.3",
|
|
76
76
|
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
77
77
|
"eslint-plugin-node": "^11.1.0",
|
|
78
78
|
"eslint-plugin-prettier": "^4.0.0",
|
|
79
|
-
"eslint-plugin-unicorn": "^
|
|
79
|
+
"eslint-plugin-unicorn": "^39.0.0",
|
|
80
80
|
"esm-utils": "^2.0.0",
|
|
81
81
|
"find-cache-dir": "^3.3.2",
|
|
82
82
|
"find-up": "^6.2.0",
|
|
@@ -86,25 +86,25 @@
|
|
|
86
86
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
87
87
|
"json5": "^2.2.0",
|
|
88
88
|
"lodash-es": "^4.17.21",
|
|
89
|
-
"meow": "^10.1.
|
|
89
|
+
"meow": "^10.1.2",
|
|
90
90
|
"micromatch": "^4.0.4",
|
|
91
|
-
"open-editor": "^
|
|
92
|
-
"prettier": "^2.
|
|
91
|
+
"open-editor": "^4.0.0",
|
|
92
|
+
"prettier": "^2.5.0",
|
|
93
93
|
"semver": "^7.3.5",
|
|
94
94
|
"slash": "^4.0.0",
|
|
95
95
|
"to-absolute-glob": "^2.0.2",
|
|
96
|
-
"typescript": "^4.
|
|
96
|
+
"typescript": "^4.5.2"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"ava": "^3.15.0",
|
|
100
100
|
"eslint-config-xo-react": "^0.25.0",
|
|
101
|
-
"eslint-plugin-react": "^7.
|
|
102
|
-
"eslint-plugin-react-hooks": "^4.
|
|
103
|
-
"execa": "^
|
|
101
|
+
"eslint-plugin-react": "^7.27.1",
|
|
102
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
103
|
+
"execa": "^6.0.0",
|
|
104
104
|
"nyc": "^15.1.0",
|
|
105
105
|
"proxyquire": "^2.1.3",
|
|
106
106
|
"temp-write": "^5.0.0",
|
|
107
|
-
"webpack": "^5.
|
|
107
|
+
"webpack": "^5.64.4"
|
|
108
108
|
},
|
|
109
109
|
"xo": {
|
|
110
110
|
"ignores": [
|