@agilebot/eslint-config 0.4.0 → 0.4.1
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/dist/cli.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @agilebot/eslint-config v0.4.
|
|
2
|
+
* @license @agilebot/eslint-config v0.4.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Agilebot, Inc. and its affiliates.
|
|
5
5
|
*
|
|
@@ -519,9 +519,9 @@ function react(opts) {
|
|
|
519
519
|
"@eslint-react/naming-convention/component-name": "error",
|
|
520
520
|
"@eslint-react/naming-convention/use-state": "error",
|
|
521
521
|
// recommended rules from @eslint-react/web-api
|
|
522
|
-
"@eslint-react/web-api/no-leaked-interval": "
|
|
523
|
-
"@eslint-react/web-api/no-leaked-timeout": "
|
|
524
|
-
"@eslint-react/web-api/no-leaked-event-listener": "
|
|
522
|
+
"@eslint-react/web-api/no-leaked-interval": "warn",
|
|
523
|
+
"@eslint-react/web-api/no-leaked-timeout": "warn",
|
|
524
|
+
"@eslint-react/web-api/no-leaked-event-listener": "warn",
|
|
525
525
|
// 以下是自定义规则
|
|
526
526
|
"react/jsx-handler-names": [
|
|
527
527
|
"error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilebot/eslint-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Agilebot's ESLint config",
|
|
5
5
|
"bin": {
|
|
6
6
|
"eslint-agilebot": "bin/eslint-agilebot"
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"eslint-plugin-vue": "^9.27.0",
|
|
45
45
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
|
|
46
46
|
"vue-eslint-parser": "^9.4.3",
|
|
47
|
-
"@agilebot/eslint-utils": "0.4.
|
|
47
|
+
"@agilebot/eslint-utils": "0.4.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"eslint-config-love": "^63.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
54
|
-
"@agilebot/eslint-plugin": "0.4.
|
|
54
|
+
"@agilebot/eslint-plugin": "0.4.1"
|
|
55
55
|
},
|
|
56
56
|
"files": [
|
|
57
57
|
"bin",
|