@agilebot/eslint-config 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @agilebot/eslint-config v0.4.0
2
+ * @license @agilebot/eslint-config v0.4.1
3
3
  *
4
4
  * Copyright (c) Agilebot, Inc. and its affiliates.
5
5
  *
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @agilebot/eslint-config v0.4.0
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": "error",
523
- "@eslint-react/web-api/no-leaked-timeout": "error",
524
- "@eslint-react/web-api/no-leaked-event-listener": "error",
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.0",
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.0"
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.0"
54
+ "@agilebot/eslint-plugin": "0.4.1"
55
55
  },
56
56
  "files": [
57
57
  "bin",