@agilebot/eslint-plugin 0.7.4 → 0.8.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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @agilebot/eslint-plugin v0.7.4
2
+ * @license @agilebot/eslint-plugin v0.8.0
3
3
  *
4
4
  * Copyright (c) Agilebot, Inc. and its affiliates.
5
5
  *
@@ -84,15 +84,6 @@ function getSetting(context, name) {
84
84
  return context.settings["agilebot/".concat(name)];
85
85
  }
86
86
 
87
- const warned = new Set();
88
- function warnOnce(message) {
89
- if (warned.has(message)) {
90
- return;
91
- }
92
- warned.add(message);
93
- console.warn("Warning: ".concat(message));
94
- }
95
-
96
87
  const RULE_NAME$i = 'import-monorepo';
97
88
  var importMonorepo = createRule({
98
89
  name: RULE_NAME$i,
@@ -114,7 +105,6 @@ var importMonorepo = createRule({
114
105
  ImportDeclaration(node) {
115
106
  let prefix = getSetting(context, 'monorepo-scope');
116
107
  if (!prefix) {
117
- warnOnce('agilebot/monorepo-scope is not set.');
118
108
  return;
119
109
  }
120
110
  prefix = "".concat(prefix, "/");
@@ -857,7 +847,6 @@ var reactBetterExhaustiveDeps = {
857
847
  const checkMemoizedVariableIsStatic = context.options && context.options[0] && context.options[0].checkMemoizedVariableIsStatic || false;
858
848
  const options = {
859
849
  additionalHooks,
860
- enableDangerousAutofixThisMayCauseInfiniteLoops,
861
850
  customHooks,
862
851
  staticHooks,
863
852
  checkMemoizedVariableIsStatic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilebot/eslint-plugin",
3
- "version": "0.7.4",
3
+ "version": "0.8.0",
4
4
  "description": "Agilebot's ESLint plugin",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,10 +18,10 @@
18
18
  "node": "^18.18.0 || >=20.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@eslint/compat": "^1.2.3",
21
+ "@eslint/compat": "^1.2.7",
22
22
  "@typescript-eslint/utils": "~8.25.0",
23
23
  "eslint-plugin-react": "^7.37.2",
24
- "@agilebot/eslint-utils": "0.7.4"
24
+ "@agilebot/eslint-utils": "0.8.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "eslint": "^8.57.0 || ^9.0.0"
@@ -33,7 +33,7 @@
33
33
  "@types/color-name": "^1.1.4",
34
34
  "@types/estree": "^1.0.5",
35
35
  "color-name": "^2.0.0",
36
- "eslint-vitest-rule-tester": "^0.6.1",
36
+ "eslint-vitest-rule-tester": "^1.1.0",
37
37
  "typescript-eslint": "~8.25.0"
38
38
  },
39
39
  "scripts": {
package/LICENSE.tpl DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * @license %(name)s v%(version)s
3
- *
4
- * Copyright (c) Agilebot, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */