@agilebot/eslint-config 0.5.6 → 0.6.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/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @agilebot/eslint-config v0.5.6
2
+ * @license @agilebot/eslint-config v0.6.0
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.5.6
2
+ * @license @agilebot/eslint-config v0.6.0
3
3
  *
4
4
  * Copyright (c) Agilebot, Inc. and its affiliates.
5
5
  *
@@ -279,7 +279,8 @@ function ts() {
279
279
  {
280
280
  checksVoidReturn: false
281
281
  }
282
- ]
282
+ ],
283
+ "@typescript-eslint/no-deprecated": "error"
283
284
  }
284
285
  };
285
286
  }
@@ -661,17 +662,6 @@ function comments() {
661
662
  };
662
663
  }
663
664
 
664
- // src/configs/deprecation.ts
665
- function deprecation() {
666
- return {
667
- plugins: ["@agilebot"],
668
- rules: {
669
- // 禁止使用带有deprecation标记的方法或属性
670
- "@agilebot/deprecation": "error"
671
- }
672
- };
673
- }
674
-
675
665
  // src/configs/cspell.ts
676
666
  function cspell(opts) {
677
667
  return {
@@ -845,7 +835,6 @@ function factory(root, options) {
845
835
  ts: true
846
836
  }) : {},
847
837
  (options == null ? void 0 : options.lodash) ? lodash() : {},
848
- deprecation(),
849
838
  (options == null ? void 0 : options.cspell) ? cspell(options.cspell) : {},
850
839
  ...commonConfigs,
851
840
  agilebot({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilebot/eslint-config",
3
- "version": "0.5.6",
3
+ "version": "0.6.0",
4
4
  "description": "Agilebot's ESLint config",
5
5
  "bin": {
6
6
  "eslint-agilebot": "bin/eslint-agilebot"
@@ -47,7 +47,7 @@
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.5.6"
50
+ "@agilebot/eslint-utils": "0.6.0"
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.5.6"
58
+ "@agilebot/eslint-plugin": "0.6.0"
59
59
  },
60
60
  "files": [
61
61
  "bin",