@agilebot/eslint-config 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cli.js +1 -1
- package/dist/index.js +3 -2
- package/package.json +13 -13
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license @agilebot/eslint-config v0.6.
|
2
|
+
* @license @agilebot/eslint-config v0.6.1
|
3
3
|
*
|
4
4
|
* Copyright (c) Agilebot, Inc. and its affiliates.
|
5
5
|
*
|
@@ -525,6 +525,8 @@ function react(opts) {
|
|
525
525
|
"error",
|
526
526
|
{ allowExpressions: true }
|
527
527
|
],
|
528
|
+
"@eslint-react/jsx-uses-vars": "error",
|
529
|
+
"@eslint-react/jsx-no-duplicate-props": "error",
|
528
530
|
// recommended rules from @eslint-react/dom
|
529
531
|
"@eslint-react/dom/no-children-in-void-dom-elements": "error",
|
530
532
|
"@eslint-react/dom/no-unsafe-target-blank": "error",
|
@@ -583,7 +585,6 @@ function reactJsOnly() {
|
|
583
585
|
"react/jsx-no-duplicate-props": "error",
|
584
586
|
"react/jsx-no-undef": "error",
|
585
587
|
"react/jsx-uses-react": "error",
|
586
|
-
"react/jsx-uses-vars": "error",
|
587
588
|
"react/no-unescaped-entities": "error",
|
588
589
|
"react/no-unknown-property": "error",
|
589
590
|
"react/react-in-jsx-scope": "error",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@agilebot/eslint-config",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.1",
|
4
4
|
"description": "Agilebot's ESLint config",
|
5
5
|
"bin": {
|
6
6
|
"eslint-agilebot": "bin/eslint-agilebot"
|
@@ -18,36 +18,36 @@
|
|
18
18
|
},
|
19
19
|
"homepage": "https://github.com/sh-agilebot/frontend-toolkit/tree/master/packages/eslint-config#readme",
|
20
20
|
"dependencies": {
|
21
|
-
"@cspell/eslint-plugin": "^8.
|
21
|
+
"@cspell/eslint-plugin": "^8.16.0",
|
22
22
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
23
|
-
"@eslint-react/eslint-plugin": "^1.
|
24
|
-
"@stylistic/eslint-plugin": "^2.
|
25
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
26
|
-
"@typescript-eslint/parser": "~8.
|
23
|
+
"@eslint-react/eslint-plugin": "^1.16.2",
|
24
|
+
"@stylistic/eslint-plugin": "^2.11.0",
|
25
|
+
"@typescript-eslint/eslint-plugin": "~8.15.0",
|
26
|
+
"@typescript-eslint/parser": "~8.15.0",
|
27
27
|
"eslint-config-godaddy": "^6.0.0",
|
28
28
|
"eslint-config-prettier": "^9.1.0",
|
29
29
|
"eslint-import-resolver-oxc": "^0.4.0",
|
30
30
|
"eslint-import-resolver-typescript": "^3.6.3",
|
31
31
|
"eslint-plugin-file-progress": "^1.5.0",
|
32
|
-
"eslint-plugin-import-x": "^4.
|
33
|
-
"eslint-plugin-jsdoc": "^50.
|
32
|
+
"eslint-plugin-import-x": "^4.4.2",
|
33
|
+
"eslint-plugin-jsdoc": "^50.5.0",
|
34
34
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
35
|
-
"eslint-plugin-n": "^17.
|
35
|
+
"eslint-plugin-n": "^17.13.2",
|
36
36
|
"eslint-plugin-no-relative-import-paths": "^1.5.5",
|
37
37
|
"eslint-plugin-prefer-arrow-functions": "^3.4.1",
|
38
38
|
"eslint-plugin-prettier": "^5.2.1",
|
39
39
|
"eslint-plugin-promise": "^7.1.0",
|
40
40
|
"eslint-plugin-react": "^7.37.2",
|
41
41
|
"eslint-plugin-react-hooks": "^5.0.0",
|
42
|
-
"eslint-plugin-unicorn": "^
|
42
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
43
43
|
"eslint-plugin-unused-imports": "^4.1.4",
|
44
|
-
"eslint-plugin-vue": "^9.
|
44
|
+
"eslint-plugin-vue": "^9.31.0",
|
45
45
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
|
46
46
|
"find-up": "^5.0.0",
|
47
47
|
"picocolors": "^1.1.0",
|
48
48
|
"vue-eslint-parser": "^9.4.3",
|
49
49
|
"yargs": "^17.7.2",
|
50
|
-
"@agilebot/eslint-utils": "0.6.
|
50
|
+
"@agilebot/eslint-utils": "0.6.1"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
53
|
"@types/yargs": "^17.0.33",
|
@@ -55,7 +55,7 @@
|
|
55
55
|
},
|
56
56
|
"peerDependencies": {
|
57
57
|
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
58
|
-
"@agilebot/eslint-plugin": "0.6.
|
58
|
+
"@agilebot/eslint-plugin": "0.6.1"
|
59
59
|
},
|
60
60
|
"files": [
|
61
61
|
"bin",
|