@saasmakers/eslint 0.2.11 → 1.0.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.
Files changed (35) hide show
  1. package/dist/chunks/formatters.cjs +2 -2
  2. package/dist/chunks/formatters.mjs +2 -2
  3. package/dist/chunks/import.cjs +2 -2
  4. package/dist/chunks/import.mjs +2 -2
  5. package/dist/chunks/index4.cjs +4 -4
  6. package/dist/chunks/index4.mjs +4 -4
  7. package/dist/chunks/jsdoc.cjs +4 -4
  8. package/dist/chunks/jsdoc.mjs +4 -4
  9. package/dist/chunks/stylistic.cjs +4 -4
  10. package/dist/chunks/stylistic.mjs +4 -4
  11. package/dist/chunks/typescript.cjs +194 -194
  12. package/dist/chunks/typescript.mjs +5 -5
  13. package/dist/chunks/unicorn.cjs +1 -1
  14. package/dist/chunks/unicorn.mjs +1 -1
  15. package/dist/chunks/vue.cjs +7 -7
  16. package/dist/chunks/vue.mjs +5 -5
  17. package/dist/eslint.config.cjs +2 -2
  18. package/dist/eslint.config.d.cts +27 -19
  19. package/dist/eslint.config.d.mts +27 -19
  20. package/dist/eslint.config.d.ts +27 -19
  21. package/dist/eslint.config.mjs +2 -2
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +2 -6
  24. package/dist/index.d.mts +2 -6
  25. package/dist/index.d.ts +2 -6
  26. package/dist/index.mjs +1 -1
  27. package/dist/shared/{eslint.CMfxPSSy.cjs → eslint.7dipMixF.cjs} +2 -2
  28. package/dist/shared/{eslint.BFtsK_yJ.mjs → eslint.B4kWSx8Y.mjs} +7236 -7435
  29. package/dist/shared/{eslint.DV_fpPxQ.mjs → eslint.B6FFUbNC.mjs} +39 -30
  30. package/dist/shared/{eslint.CDkoKQAL.cjs → eslint.BHA6t2Iw.cjs} +7246 -7438
  31. package/dist/shared/{eslint.Bf7aat-e.mjs → eslint.BXzpdiiq.mjs} +2 -2
  32. package/dist/shared/{eslint.B3ywQ3NK.mjs → eslint.C6EaTeQZ.mjs} +328 -121
  33. package/dist/shared/{eslint.CyJA7jO6.cjs → eslint.DP_6nQqR.cjs} +39 -30
  34. package/dist/shared/{eslint.Dhg0jKDi.cjs → eslint.Dxl4X46J.cjs} +327 -127
  35. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
- import { r as requireDist$8, c as requireDist$9, g as getAugmentedNamespace, e as requireDist$a, a as getDefaultExportFromCjs, f as requireAstUtils$1, h as requireDist$b, i as requireEslintUtils, j as commonjsGlobal } from '../shared/eslint.B3ywQ3NK.mjs';
2
- import { r as requireSrc, a as requireSemver } from '../shared/eslint.DV_fpPxQ.mjs';
1
+ import { g as getAugmentedNamespace, a as getDefaultExportFromCjs, c as commonjsGlobal } from '../shared/eslint.C6EaTeQZ.mjs';
2
+ import { r as requireDist$8, a as requireDist$9, b as requireDist$a, c as requireAstUtils$1, d as requireDist$b, e as requireEslintUtils, f as resolveOptions } from '../shared/eslint.B4kWSx8Y.mjs';
3
+ import { r as requireSrc, a as requireSemver } from '../shared/eslint.B6FFUbNC.mjs';
3
4
  import { _ as __require$1, a as __require$2 } from '../shared/eslint.05nu4VbT.mjs';
4
5
  import require$$2$1 from 'typescript';
5
6
  import require$$2$2 from 'typescript/lib/tsserverlibrary';
@@ -11,11 +12,8 @@ import { createRequire } from 'node:module';
11
12
  import require$$1$1 from 'eslint/use-at-your-own-risk';
12
13
  import { r as requireNaturalCompare } from '../shared/eslint.Dprsk9zl.mjs';
13
14
  import { r as requireRegexpp } from '../shared/eslint.W7RM7aEw.mjs';
14
- import { r as resolveOptions } from '../shared/eslint.BFtsK_yJ.mjs';
15
15
  import 'node:process';
16
16
  import 'eslint';
17
- import 'tty';
18
- import 'util';
19
17
  import '@antfu/eslint-config';
20
18
  import 'node:fs';
21
19
  import 'node:path';
@@ -30,6 +28,8 @@ import 'eslint-plugin-package-json';
30
28
  import 'eslint-plugin-storybook';
31
29
  import 'eslint-plugin-turbo';
32
30
  import 'eslint-plugin-zod';
31
+ import 'tty';
32
+ import 'util';
33
33
 
34
34
  var dist$7 = {};
35
35
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const path = require('node:path');
4
- const index = require('../shared/eslint.Dhg0jKDi.cjs');
4
+ const index = require('../shared/eslint.Dxl4X46J.cjs');
5
5
  const types = require('node:util/types');
6
6
  const index$1 = require('../shared/eslint.DoYGbUIG.cjs');
7
7
  const fs = require('node:fs');
@@ -1,5 +1,5 @@
1
1
  import path__default from 'node:path';
2
- import { g as getAugmentedNamespace, a as getDefaultExportFromCjs } from '../shared/eslint.B3ywQ3NK.mjs';
2
+ import { g as getAugmentedNamespace, a as getDefaultExportFromCjs } from '../shared/eslint.C6EaTeQZ.mjs';
3
3
  import { isRegExp } from 'node:util/types';
4
4
  import { i as isOpeningParenToken, a as isClosingParenToken, b as isCommaToken, f as findVariable, g as getStaticValue, c as isSemicolonToken, d as isOpeningBraceToken, e as getFunctionNameWithKind, h as getFunctionHeadLocation, j as getStringIfConstant, R as ReferenceTracker, k as hasSideEffect, l as isNotSemicolonToken, m as getPropertyName, n as isColonToken, o as isParenthesized$1, p as isOpeningBracketToken, q as isClosingBracketToken, r as isArrowToken, s as isClosingBraceToken } from '../shared/eslint.Cg6Ty7p7.mjs';
5
5
  import fs__default from 'node:fs';
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- const index$1 = require('../shared/eslint.Dhg0jKDi.cjs');
3
+ const index$1 = require('../shared/eslint.Dxl4X46J.cjs');
4
4
  const _commonjsDynamicModules = require('../shared/eslint.DUamuDzp.cjs');
5
5
  const require$$0 = require('path');
6
+ const eslint_config = require('../shared/eslint.BHA6t2Iw.cjs');
6
7
  const require$$2$1 = require('assert');
7
- const index$3 = require('../shared/eslint.CyJA7jO6.cjs');
8
+ const index$3 = require('../shared/eslint.DP_6nQqR.cjs');
8
9
  const estraverse = require('../shared/eslint.BL4sYiVQ.cjs');
9
10
  const require$$6 = require('module');
10
11
  const index$2 = require('../shared/eslint.Bl69eiyD.cjs');
@@ -16,15 +17,13 @@ const _node_path_commonjsExternal = require('../shared/eslint.BGpVg2tt.cjs');
16
17
  const require$$1$2 = require('eslint/use-at-your-own-risk');
17
18
  const require$$1$3 = require('util');
18
19
  const index$4 = require('../shared/eslint.BOOP2x9L.cjs');
19
- const eslint_config = require('../shared/eslint.CDkoKQAL.cjs');
20
20
  require('node:process');
21
- require('tty');
22
- require('node:module');
23
21
  require('@antfu/eslint-config');
24
22
  require('node:fs');
25
23
  require('node:path');
26
24
  require('node:fs/promises');
27
25
  require('node:url');
26
+ require('node:module');
28
27
  require('node:assert');
29
28
  require('node:v8');
30
29
  require('node:util');
@@ -34,6 +33,7 @@ require('eslint-plugin-package-json');
34
33
  require('eslint-plugin-storybook');
35
34
  require('eslint-plugin-turbo');
36
35
  require('eslint-plugin-zod');
36
+ require('tty');
37
37
 
38
38
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
39
39
 
@@ -2870,7 +2870,7 @@ function requireEspree () {
2870
2870
 
2871
2871
  var acorn = index$2.requireAcorn();
2872
2872
  var jsx = index$2.requireAcornJsx();
2873
- var eslintVisitorKeys = /*@__PURE__*/ index$1.requireEslintVisitorKeys();
2873
+ var eslintVisitorKeys = /*@__PURE__*/ eslint_config.requireEslintVisitorKeys();
2874
2874
 
2875
2875
  function _interopNamespaceDefault(e) {
2876
2876
  var n = Object.create(null);
@@ -4207,7 +4207,7 @@ function requireDist$2 () {
4207
4207
  //#endregion
4208
4208
  let path = require$$0__default;
4209
4209
  path = __toESM(path);
4210
- let eslint_visitor_keys = /*@__PURE__*/ index$1.requireEslintVisitorKeys();
4210
+ let eslint_visitor_keys = /*@__PURE__*/ eslint_config.requireEslintVisitorKeys();
4211
4211
  eslint_visitor_keys = __toESM(eslint_visitor_keys);
4212
4212
  let assert = require$$2__default;
4213
4213
  assert = __toESM(assert);
@@ -1,8 +1,9 @@
1
- import { g as getAugmentedNamespace$1, k as requireEslintVisitorKeys, a as getDefaultExportFromCjs$1, b as requireEslintUtils } from '../shared/eslint.B3ywQ3NK.mjs';
1
+ import { g as getAugmentedNamespace$1, a as getDefaultExportFromCjs$1, r as requireEslintUtils } from '../shared/eslint.C6EaTeQZ.mjs';
2
2
  import { c as commonjsRequire } from '../shared/eslint.COweQ1RR.mjs';
3
3
  import require$$0 from 'path';
4
+ import { g as requireEslintVisitorKeys, f as resolveOptions, h as removeUndefined } from '../shared/eslint.B4kWSx8Y.mjs';
4
5
  import require$$2$1 from 'assert';
5
- import { r as requireSrc, a as requireSemver } from '../shared/eslint.DV_fpPxQ.mjs';
6
+ import { r as requireSrc, a as requireSemver } from '../shared/eslint.B6FFUbNC.mjs';
6
7
  import { r as requireEstraverse } from '../shared/eslint.BtkqW7nC.mjs';
7
8
  import require$$6 from 'module';
8
9
  import { r as requireAcorn, a as requireAcornJsx } from '../shared/eslint.Dlgr3LGM.mjs';
@@ -14,15 +15,13 @@ import { a as __require$1, _ as __require$2 } from '../shared/eslint.05nu4VbT.mj
14
15
  import require$$1$2 from 'eslint/use-at-your-own-risk';
15
16
  import require$$1$3 from 'util';
16
17
  import { r as requireNaturalCompare } from '../shared/eslint.Dprsk9zl.mjs';
17
- import { r as resolveOptions, a as removeUndefined } from '../shared/eslint.BFtsK_yJ.mjs';
18
18
  import 'node:process';
19
- import 'tty';
20
- import 'node:module';
21
19
  import '@antfu/eslint-config';
22
20
  import 'node:fs';
23
21
  import 'node:path';
24
22
  import 'node:fs/promises';
25
23
  import 'node:url';
24
+ import 'node:module';
26
25
  import 'node:assert';
27
26
  import 'node:v8';
28
27
  import 'node:util';
@@ -32,6 +31,7 @@ import 'eslint-plugin-package-json';
32
31
  import 'eslint-plugin-storybook';
33
32
  import 'eslint-plugin-turbo';
34
33
  import 'eslint-plugin-zod';
34
+ import 'tty';
35
35
 
36
36
  function _mergeNamespaces(n, m) {
37
37
  for (var i = 0; i < m.length; i++) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('@antfu/eslint-config');
4
- const eslint_config = require('./shared/eslint.CDkoKQAL.cjs');
4
+ const eslint_config = require('./shared/eslint.BHA6t2Iw.cjs');
5
5
  require('node:process');
6
6
  require('@saasmakers/eslint');
7
7
  require('@vitest/eslint-plugin');
@@ -17,7 +17,7 @@ require('node:module');
17
17
  require('node:assert');
18
18
  require('node:v8');
19
19
  require('node:util');
20
- require('./shared/eslint.Dhg0jKDi.cjs');
20
+ require('./shared/eslint.Dxl4X46J.cjs');
21
21
  require('eslint');
22
22
  require('eslint/use-at-your-own-risk');
23
23
 
@@ -3950,11 +3950,11 @@ var eslint_config = antfu(
3950
3950
  "environment",
3951
3951
  "depends_on",
3952
3952
  "extra_hosts",
3953
+ "networks",
3953
3954
  "ports",
3954
3955
  "volumes",
3955
3956
  "configs",
3956
3957
  "healthcheck",
3957
- "networks",
3958
3958
  "labels"
3959
3959
  ],
3960
3960
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
@@ -3987,24 +3987,6 @@ var eslint_config = antfu(
3987
3987
  files: ["**/package.json"],
3988
3988
  rules: { "jsonc/sort-keys": "off" }
3989
3989
  },
3990
- // ESLint
3991
- {
3992
- rules: {
3993
- "object-property-newline": ["error", { allowAllPropertiesOnSameLine: false }],
3994
- "object-curly-newline": ["error", {
3995
- ExportDeclaration: {
3996
- minProperties: 2,
3997
- multiline: true
3998
- },
3999
- ImportDeclaration: "never",
4000
- ObjectExpression: {
4001
- minProperties: 2,
4002
- multiline: true
4003
- },
4004
- ObjectPattern: "never"
4005
- }]
4006
- }
4007
- },
4008
3990
  // Nuxt
4009
3991
  createConfigForNuxt({ features: { standalone: false } }),
4010
3992
  // Perfectionist
@@ -4031,6 +4013,32 @@ var eslint_config = antfu(
4031
4013
  plugins: { saasmakers },
4032
4014
  rules: { "saasmakers/ts-sort-tests": "error" }
4033
4015
  },
4016
+ // Stylistic
4017
+ {
4018
+ rules: {
4019
+ "style/object-property-newline": ["error", { allowAllPropertiesOnSameLine: false }],
4020
+ "style/object-curly-newline": ["error", {
4021
+ ExportDeclaration: {
4022
+ minProperties: 2,
4023
+ multiline: true
4024
+ },
4025
+ ImportDeclaration: "never",
4026
+ ObjectExpression: {
4027
+ minProperties: 2,
4028
+ multiline: true
4029
+ },
4030
+ ObjectPattern: "never",
4031
+ TSInterfaceBody: {
4032
+ minProperties: 1,
4033
+ multiline: true
4034
+ },
4035
+ TSTypeLiteral: {
4036
+ minProperties: 1,
4037
+ multiline: true
4038
+ }
4039
+ }]
4040
+ }
4041
+ },
4034
4042
  // Vitest
4035
4043
  {
4036
4044
  files: ["**/*.test.ts"],
@@ -3950,11 +3950,11 @@ var eslint_config = antfu(
3950
3950
  "environment",
3951
3951
  "depends_on",
3952
3952
  "extra_hosts",
3953
+ "networks",
3953
3954
  "ports",
3954
3955
  "volumes",
3955
3956
  "configs",
3956
3957
  "healthcheck",
3957
- "networks",
3958
3958
  "labels"
3959
3959
  ],
3960
3960
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
@@ -3987,24 +3987,6 @@ var eslint_config = antfu(
3987
3987
  files: ["**/package.json"],
3988
3988
  rules: { "jsonc/sort-keys": "off" }
3989
3989
  },
3990
- // ESLint
3991
- {
3992
- rules: {
3993
- "object-property-newline": ["error", { allowAllPropertiesOnSameLine: false }],
3994
- "object-curly-newline": ["error", {
3995
- ExportDeclaration: {
3996
- minProperties: 2,
3997
- multiline: true
3998
- },
3999
- ImportDeclaration: "never",
4000
- ObjectExpression: {
4001
- minProperties: 2,
4002
- multiline: true
4003
- },
4004
- ObjectPattern: "never"
4005
- }]
4006
- }
4007
- },
4008
3990
  // Nuxt
4009
3991
  createConfigForNuxt({ features: { standalone: false } }),
4010
3992
  // Perfectionist
@@ -4031,6 +4013,32 @@ var eslint_config = antfu(
4031
4013
  plugins: { saasmakers },
4032
4014
  rules: { "saasmakers/ts-sort-tests": "error" }
4033
4015
  },
4016
+ // Stylistic
4017
+ {
4018
+ rules: {
4019
+ "style/object-property-newline": ["error", { allowAllPropertiesOnSameLine: false }],
4020
+ "style/object-curly-newline": ["error", {
4021
+ ExportDeclaration: {
4022
+ minProperties: 2,
4023
+ multiline: true
4024
+ },
4025
+ ImportDeclaration: "never",
4026
+ ObjectExpression: {
4027
+ minProperties: 2,
4028
+ multiline: true
4029
+ },
4030
+ ObjectPattern: "never",
4031
+ TSInterfaceBody: {
4032
+ minProperties: 1,
4033
+ multiline: true
4034
+ },
4035
+ TSTypeLiteral: {
4036
+ minProperties: 1,
4037
+ multiline: true
4038
+ }
4039
+ }]
4040
+ }
4041
+ },
4034
4042
  // Vitest
4035
4043
  {
4036
4044
  files: ["**/*.test.ts"],
@@ -3950,11 +3950,11 @@ var eslint_config = antfu(
3950
3950
  "environment",
3951
3951
  "depends_on",
3952
3952
  "extra_hosts",
3953
+ "networks",
3953
3954
  "ports",
3954
3955
  "volumes",
3955
3956
  "configs",
3956
3957
  "healthcheck",
3957
- "networks",
3958
3958
  "labels"
3959
3959
  ],
3960
3960
  pathPattern: "^services(?:\\.[^.\\[\\]]+|\\[[^\\]]+\\])$"
@@ -3987,24 +3987,6 @@ var eslint_config = antfu(
3987
3987
  files: ["**/package.json"],
3988
3988
  rules: { "jsonc/sort-keys": "off" }
3989
3989
  },
3990
- // ESLint
3991
- {
3992
- rules: {
3993
- "object-property-newline": ["error", { allowAllPropertiesOnSameLine: false }],
3994
- "object-curly-newline": ["error", {
3995
- ExportDeclaration: {
3996
- minProperties: 2,
3997
- multiline: true
3998
- },
3999
- ImportDeclaration: "never",
4000
- ObjectExpression: {
4001
- minProperties: 2,
4002
- multiline: true
4003
- },
4004
- ObjectPattern: "never"
4005
- }]
4006
- }
4007
- },
4008
3990
  // Nuxt
4009
3991
  createConfigForNuxt({ features: { standalone: false } }),
4010
3992
  // Perfectionist
@@ -4031,6 +4013,32 @@ var eslint_config = antfu(
4031
4013
  plugins: { saasmakers },
4032
4014
  rules: { "saasmakers/ts-sort-tests": "error" }
4033
4015
  },
4016
+ // Stylistic
4017
+ {
4018
+ rules: {
4019
+ "style/object-property-newline": ["error", { allowAllPropertiesOnSameLine: false }],
4020
+ "style/object-curly-newline": ["error", {
4021
+ ExportDeclaration: {
4022
+ minProperties: 2,
4023
+ multiline: true
4024
+ },
4025
+ ImportDeclaration: "never",
4026
+ ObjectExpression: {
4027
+ minProperties: 2,
4028
+ multiline: true
4029
+ },
4030
+ ObjectPattern: "never",
4031
+ TSInterfaceBody: {
4032
+ minProperties: 1,
4033
+ multiline: true
4034
+ },
4035
+ TSTypeLiteral: {
4036
+ minProperties: 1,
4037
+ multiline: true
4038
+ }
4039
+ }]
4040
+ }
4041
+ },
4034
4042
  // Vitest
4035
4043
  {
4036
4044
  files: ["**/*.test.ts"],
@@ -1,5 +1,5 @@
1
1
  import '@antfu/eslint-config';
2
- export { c as default } from './shared/eslint.BFtsK_yJ.mjs';
2
+ export { m as default } from './shared/eslint.B4kWSx8Y.mjs';
3
3
  import 'node:process';
4
4
  import '@saasmakers/eslint';
5
5
  import '@vitest/eslint-plugin';
@@ -15,6 +15,6 @@ import 'node:module';
15
15
  import 'node:assert';
16
16
  import 'node:v8';
17
17
  import 'node:util';
18
- import './shared/eslint.B3ywQ3NK.mjs';
18
+ import './shared/eslint.C6EaTeQZ.mjs';
19
19
  import 'eslint';
20
20
  import 'eslint/use-at-your-own-risk';
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index$1 = require('./shared/eslint.Dhg0jKDi.cjs');
3
+ const index$1 = require('./shared/eslint.Dxl4X46J.cjs');
4
4
  require('eslint');
5
5
  require('eslint/use-at-your-own-risk');
6
6
 
package/dist/index.d.cts CHANGED
@@ -1338,7 +1338,7 @@ declare interface TemplateElement extends BaseNode {
1338
1338
  type: AST_NODE_TYPES.TemplateElement;
1339
1339
  tail: boolean;
1340
1340
  value: {
1341
- cooked: string | null;
1341
+ cooked: string;
1342
1342
  raw: string;
1343
1343
  };
1344
1344
  }
@@ -4269,9 +4269,7 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4269
4269
  /**
4270
4270
  * The language options configured for this run
4271
4271
  */
4272
- languageOptions: FlatConfig.LanguageOptions & {
4273
- parserOptions: FlatConfig.ParserOptions;
4274
- };
4272
+ languageOptions: FlatConfig.LanguageOptions;
4275
4273
  /**
4276
4274
  * An array of the configured options for this rule.
4277
4275
  * This array does not include the rule severity.
@@ -4279,12 +4277,10 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4279
4277
  options: Options;
4280
4278
  /**
4281
4279
  * The parser options configured for this run
4282
- * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4283
4280
  */
4284
4281
  parserOptions: Linter.ParserOptions;
4285
4282
  /**
4286
4283
  * The name of the parser from configuration, if in eslintrc (legacy) config.
4287
- * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4288
4284
  */
4289
4285
  parserPath: string | undefined;
4290
4286
  /**
package/dist/index.d.mts CHANGED
@@ -1338,7 +1338,7 @@ declare interface TemplateElement extends BaseNode {
1338
1338
  type: AST_NODE_TYPES.TemplateElement;
1339
1339
  tail: boolean;
1340
1340
  value: {
1341
- cooked: string | null;
1341
+ cooked: string;
1342
1342
  raw: string;
1343
1343
  };
1344
1344
  }
@@ -4269,9 +4269,7 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4269
4269
  /**
4270
4270
  * The language options configured for this run
4271
4271
  */
4272
- languageOptions: FlatConfig.LanguageOptions & {
4273
- parserOptions: FlatConfig.ParserOptions;
4274
- };
4272
+ languageOptions: FlatConfig.LanguageOptions;
4275
4273
  /**
4276
4274
  * An array of the configured options for this rule.
4277
4275
  * This array does not include the rule severity.
@@ -4279,12 +4277,10 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4279
4277
  options: Options;
4280
4278
  /**
4281
4279
  * The parser options configured for this run
4282
- * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4283
4280
  */
4284
4281
  parserOptions: Linter.ParserOptions;
4285
4282
  /**
4286
4283
  * The name of the parser from configuration, if in eslintrc (legacy) config.
4287
- * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4288
4284
  */
4289
4285
  parserPath: string | undefined;
4290
4286
  /**
package/dist/index.d.ts CHANGED
@@ -1338,7 +1338,7 @@ declare interface TemplateElement extends BaseNode {
1338
1338
  type: AST_NODE_TYPES.TemplateElement;
1339
1339
  tail: boolean;
1340
1340
  value: {
1341
- cooked: string | null;
1341
+ cooked: string;
1342
1342
  raw: string;
1343
1343
  };
1344
1344
  }
@@ -4269,9 +4269,7 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4269
4269
  /**
4270
4270
  * The language options configured for this run
4271
4271
  */
4272
- languageOptions: FlatConfig.LanguageOptions & {
4273
- parserOptions: FlatConfig.ParserOptions;
4274
- };
4272
+ languageOptions: FlatConfig.LanguageOptions;
4275
4273
  /**
4276
4274
  * An array of the configured options for this rule.
4277
4275
  * This array does not include the rule severity.
@@ -4279,12 +4277,10 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4279
4277
  options: Options;
4280
4278
  /**
4281
4279
  * The parser options configured for this run
4282
- * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4283
4280
  */
4284
4281
  parserOptions: Linter.ParserOptions;
4285
4282
  /**
4286
4283
  * The name of the parser from configuration, if in eslintrc (legacy) config.
4287
- * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4288
4284
  */
4289
4285
  parserPath: string | undefined;
4290
4286
  /**
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { d as distExports } from './shared/eslint.B3ywQ3NK.mjs';
1
+ import { d as distExports } from './shared/eslint.C6EaTeQZ.mjs';
2
2
  import 'eslint';
3
3
  import 'eslint/use-at-your-own-risk';
4
4
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const index$1 = require('./eslint.Dhg0jKDi.cjs');
4
- const index = require('./eslint.CyJA7jO6.cjs');
3
+ const index$1 = require('./eslint.Dxl4X46J.cjs');
4
+ const index = require('./eslint.DP_6nQqR.cjs');
5
5
 
6
6
  var semverExports = index.requireSemver();
7
7
  const semver = /*@__PURE__*/index$1.getDefaultExportFromCjs(semverExports);