@rightcapital/eslint-plugin 51.1.1-renovate-major-auto-merge-dev-dependencies-updates.4195.1.0 → 51.1.1-renovate-eslint-rule-and-plugin-updates.4200.1.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.
@@ -1,3 +1,3 @@
1
- import type { ClassicConfig } from '@typescript-eslint/utils/ts-eslint';
2
- export declare const recommendedJsxConfig: ClassicConfig.Config;
1
+ import type { ConfigObject } from '@eslint/core';
2
+ export declare const recommendedJsxConfig: ConfigObject;
3
3
  //# sourceMappingURL=recommended-jsx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recommended-jsx.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-jsx.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,MAShD,CAAC"}
1
+ {"version":3,"file":"recommended-jsx.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-jsx.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,eAAO,MAAM,oBAAoB,EAAE,YAKlC,CAAC"}
@@ -2,13 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.recommendedJsxConfig = void 0;
4
4
  exports.recommendedJsxConfig = {
5
- overrides: [
6
- {
7
- files: '**/*.{jsx,tsx}',
8
- rules: {
9
- '@rightcapital/jsx-no-unused-expressions': 'error',
10
- },
11
- },
12
- ],
5
+ files: ['**/*.{jsx,tsx}'],
6
+ rules: {
7
+ '@rightcapital/jsx-no-unused-expressions': 'error',
8
+ },
13
9
  };
14
10
  //# sourceMappingURL=recommended-jsx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recommended-jsx.js","sourceRoot":"","sources":["../../src/configs/recommended-jsx.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAyB;IACxD,SAAS,EAAE;QACT;YACE,KAAK,EAAE,gBAAgB;YACvB,KAAK,EAAE;gBACL,yCAAyC,EAAE,OAAO;aACnD;SACF;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"recommended-jsx.js","sourceRoot":"","sources":["../../src/configs/recommended-jsx.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAiB;IAChD,KAAK,EAAE,CAAC,gBAAgB,CAAC;IACzB,KAAK,EAAE;QACL,yCAAyC,EAAE,OAAO;KACnD;CACF,CAAC"}
@@ -1,3 +1,2 @@
1
- import type { ClassicConfig } from '@typescript-eslint/utils/ts-eslint';
2
- export declare const recommendedReactConfig: ClassicConfig.Config;
1
+ export declare const recommendedReactConfig: import("eslint/config").Config[];
3
2
  //# sourceMappingURL=recommended-react.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recommended-react.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,MAKlD,CAAC"}
1
+ {"version":3,"file":"recommended-react.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-react.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,kCAKjC,CAAC"}
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.recommendedReactConfig = void 0;
4
- exports.recommendedReactConfig = {
5
- extends: ['plugin:@rightcapital/recommended-jsx'],
4
+ const config_1 = require("eslint/config");
5
+ const recommended_jsx_1 = require("./recommended-jsx");
6
+ exports.recommendedReactConfig = (0, config_1.defineConfig)({
7
+ extends: [recommended_jsx_1.recommendedJsxConfig],
6
8
  rules: {
7
9
  '@rightcapital/no-ignore-return-value-of-react-hooks': 'error',
8
10
  },
9
- };
11
+ });
10
12
  //# sourceMappingURL=recommended-react.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recommended-react.js","sourceRoot":"","sources":["../../src/configs/recommended-react.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAyB;IAC1D,OAAO,EAAE,CAAC,sCAAsC,CAAC;IACjD,KAAK,EAAE;QACL,qDAAqD,EAAE,OAAO;KAC/D;CACF,CAAC"}
1
+ {"version":3,"file":"recommended-react.js","sourceRoot":"","sources":["../../src/configs/recommended-react.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAE7C,uDAAyD;AAE5C,QAAA,sBAAsB,GAAG,IAAA,qBAAY,EAAC;IACjD,OAAO,EAAE,CAAC,sCAAoB,CAAC;IAC/B,KAAK,EAAE;QACL,qDAAqD,EAAE,OAAO;KAC/D;CACF,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
- export declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({ meta, name, ...rule }: Readonly<import("@typescript-eslint/utils/eslint-utils").RuleWithMetaAndName<Options, MessageIds, unknown>>) => import("@typescript-eslint/utils/eslint-utils").RuleModule<MessageIds, Options, unknown, import("@typescript-eslint/utils/eslint-utils").RuleListener>;
1
+ import { ESLintUtils } from '@typescript-eslint/utils';
2
+ export declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({ meta, name, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener>;
2
3
  //# sourceMappingURL=create-rule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-rule.d.ts","sourceRoot":"","sources":["../../src/helpers/create-rule.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,iWAA8B,CAAC"}
1
+ {"version":3,"file":"create-rule.d.ts","sourceRoot":"","sources":["../../src/helpers/create-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,eAAO,MAAM,UAAU,qPAA0C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createRule = void 0;
4
- const eslint_utils_1 = require("@typescript-eslint/utils/eslint-utils");
4
+ const utils_1 = require("@typescript-eslint/utils");
5
5
  const get_document_url_1 = require("./get-document-url");
6
- exports.createRule = (0, eslint_utils_1.RuleCreator)(get_document_url_1.getDocumentUrl);
6
+ exports.createRule = utils_1.ESLintUtils.RuleCreator(get_document_url_1.getDocumentUrl);
7
7
  //# sourceMappingURL=create-rule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-rule.js","sourceRoot":"","sources":["../../src/helpers/create-rule.ts"],"names":[],"mappings":";;;AAAA,wEAAoE;AAEpE,yDAAoD;AAEvC,QAAA,UAAU,GAAG,IAAA,0BAAW,EAAC,iCAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"create-rule.js","sourceRoot":"","sources":["../../src/helpers/create-rule.ts"],"names":[],"mappings":";;;AAAA,oDAAuD;AAEvD,yDAAoD;AAEvC,QAAA,UAAU,GAAG,mBAAW,CAAC,WAAW,CAAC,iCAAc,CAAC,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Linter } from '@typescript-eslint/utils/ts-eslint';
2
- export declare const meta: Linter.Plugin['meta'];
3
- export declare const configs: Linter.Plugin['configs'];
4
- export declare const rules: Linter.Plugin['rules'];
1
+ import type { ESLint } from 'eslint';
2
+ export declare const meta: ESLint.Plugin['meta'];
3
+ export declare const configs: ESLint.Plugin['configs'];
4
+ export declare const rules: NonNullable<ESLint.Plugin["rules"]>;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAUjE,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAGtC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAG5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAKxC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAUrC,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAGtC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAG5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAKF,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC"}
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,kDAAgD;AAChD,+DAAiE;AACjE,mEAAqE;AACrE,2GAAyG;AACzG,mLAA8K;AAC9K,+IAA0I;AAE1I,oDAAoD;AACvC,QAAA,IAAI,GAA0B;IACzC,IAAI,EAAJ,mBAAI;IACJ,OAAO,EAAP,sBAAO;CACR,CAAC;AAEW,QAAA,OAAO,GAA6B;IAC/C,iBAAiB,EAAE,sCAAoB;IACvC,mBAAmB,EAAE,0CAAsB;CAC5C,CAAC;AAEW,QAAA,KAAK,GAA2B;IAC3C,2BAA2B,EAAE,sDAA0B;IACvD,uCAAuC,EAAE,2EAAmC;IAC5E,mDAAmD,EACjD,mGAA+C;CAClD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,kDAAgD;AAChD,+DAAiE;AACjE,mEAAqE;AACrE,2GAAyG;AACzG,mLAA8K;AAC9K,+IAA0I;AAE1I,oDAAoD;AACvC,QAAA,IAAI,GAA0B;IACzC,IAAI,EAAJ,mBAAI;IACJ,OAAO,EAAP,sBAAO;CACR,CAAC;AAEW,QAAA,OAAO,GAA6B;IAC/C,iBAAiB,EAAE,sCAAoB;IACvC,mBAAmB,EAAE,0CAAsB;CAC5C,CAAC;AAEW,QAAA,KAAK,GAAG;IACnB,2BAA2B,EAAE,sDAA0B;IACvD,uCAAuC,EAAE,2EAAmC;IAC5E,mDAAmD,EACjD,mGAA+C;CACA,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightcapital/eslint-plugin",
3
- "version": "51.1.1-renovate-major-auto-merge-dev-dependencies-updates.4195.1.0",
3
+ "version": "51.1.1-renovate-eslint-rule-and-plugin-updates.4200.1.0",
4
4
  "description": "ESLint plugin for RightCapital",
5
5
  "keywords": [
6
6
  "eslint",
@@ -16,20 +16,21 @@
16
16
  "exports": "./lib/index.js",
17
17
  "main": "./lib/index.js",
18
18
  "dependencies": {
19
- "@typescript-eslint/utils": "8.34.0"
19
+ "@typescript-eslint/utils": "8.46.2"
20
20
  },
21
21
  "devDependencies": {
22
+ "@eslint/core": "0.16.0",
22
23
  "@types/eslint": "9.6.1",
23
- "@types/node": "24.9.1",
24
- "@typescript-eslint/parser": "8.34.0",
25
- "@typescript-eslint/rule-tester": "8.34.0",
26
- "@vitest/coverage-v8": "4.0.1",
27
- "@vitest/ui": "4.0.1",
24
+ "@types/node": "22.18.11",
25
+ "@typescript-eslint/parser": "8.46.2",
26
+ "@typescript-eslint/rule-tester": "8.46.2",
27
+ "@vitest/coverage-v8": "3.2.4",
28
+ "@vitest/ui": "3.2.4",
28
29
  "eslint": "9.38.0",
29
30
  "eslint-doc-generator": "2.3.0",
30
31
  "typescript": "5.9.3",
31
- "vitest": "4.0.1",
32
- "@rightcapital/tsconfig": "1.2.17-renovate-major-auto-merge-dev-dependencies-updates.4195.1.0"
32
+ "vitest": "3.2.4",
33
+ "@rightcapital/tsconfig": "1.2.17-renovate-eslint-rule-and-plugin-updates.4200.1.0"
33
34
  },
34
35
  "peerDependencies": {
35
36
  "eslint": ">=8.0.0"