@ntnyq/eslint-config 3.0.0-beta.15 → 3.0.0-beta.17

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/README.md CHANGED
@@ -21,9 +21,9 @@ pnpm add eslint prettier typescript @ntnyq/eslint-config @ntnyq/prettier-config
21
21
  Highly recommended using **`eslint.config.mjs`** as the config file :
22
22
 
23
23
  ```js
24
- import { ntnyq } from '@ntnyq/eslint-config'
24
+ import { defineESLintConfig } from '@ntnyq/eslint-config'
25
25
 
26
- export default ntnyq()
26
+ export default defineESLintConfig()
27
27
  ```
28
28
 
29
29
  Add scripts `lint` in `package.json`:
@@ -156,7 +156,7 @@ export interface ConfigOptions {
156
156
 
157
157
  vue?: boolean | ConfigVueOptions
158
158
 
159
- vitest?: boolean | ConfigVitestOptions
159
+ test?: boolean | ConfigTestOptions
160
160
  }
161
161
  ```
162
162
 
package/dist/index.cjs CHANGED
@@ -60,7 +60,8 @@ __export(src_exports, {
60
60
  antfu: () => antfu,
61
61
  command: () => command,
62
62
  comments: () => comments,
63
- disables: () => disables,
63
+ createConfigNtnyq: () => createConfigNtnyq,
64
+ defineESLintConfig: () => defineESLintConfig,
64
65
  getOverrides: () => getOverrides,
65
66
  gitignore: () => gitignore,
66
67
  hasTypeScript: () => hasTypeScript,
@@ -90,6 +91,7 @@ __export(src_exports, {
90
91
  pluginJsonc: () => import_eslint_plugin_jsonc.default,
91
92
  pluginMarkdown: () => import_markdown.default,
92
93
  pluginNode: () => import_eslint_plugin_n.default,
94
+ pluginNtnyq: () => import_eslint_plugin_ntnyq.default,
93
95
  pluginPerfectionist: () => import_eslint_plugin_perfectionist.default,
94
96
  pluginPrettier: () => import_eslint_plugin_prettier.default,
95
97
  pluginRegexp: () => pluginRegexp,
@@ -106,6 +108,7 @@ __export(src_exports, {
106
108
  sortI18nLocale: () => sortI18nLocale,
107
109
  sortPackageJson: () => sortPackageJson,
108
110
  sortTsConfig: () => sortTsConfig,
111
+ specials: () => specials,
109
112
  test: () => test,
110
113
  toArray: () => toArray,
111
114
  toml: () => toml,
@@ -228,6 +231,7 @@ var import_eslint_plugin_n = __toESM(require("eslint-plugin-n"), 1);
228
231
  var import_eslint_plugin_vue = __toESM(require("eslint-plugin-vue"), 1);
229
232
  var import_eslint_plugin_yml = __toESM(require("eslint-plugin-yml"), 1);
230
233
  var import_eslint_plugin_toml = __toESM(require("eslint-plugin-toml"), 1);
234
+ var import_eslint_plugin_ntnyq = __toESM(require("eslint-plugin-ntnyq"), 1);
231
235
  var import_markdown = __toESM(require("@eslint/markdown"), 1);
232
236
  var import_eslint_plugin_antfu = __toESM(require("eslint-plugin-antfu"), 1);
233
237
  var import_eslint_plugin_jsdoc = __toESM(require("eslint-plugin-jsdoc"), 1);
@@ -994,6 +998,7 @@ var antfu = (options = {}) => [
994
998
  // 'antfu/consistent-list-newline': 'error',
995
999
  "antfu/import-dedupe": "error",
996
1000
  "antfu/top-level-function": "error",
1001
+ // Overrides rules
997
1002
  ...options.overrides
998
1003
  }
999
1004
  }
@@ -1075,6 +1080,21 @@ var jsonc = (options = {}) => [
1075
1080
  }
1076
1081
  ];
1077
1082
 
1083
+ // src/configs/ntnyq.ts
1084
+ var createConfigNtnyq = (options = {}) => [
1085
+ {
1086
+ name: "ntnyq/ntnyq",
1087
+ plugins: {
1088
+ ntnyq: import_eslint_plugin_ntnyq.default
1089
+ },
1090
+ rules: {
1091
+ "ntnyq/no-member-accessibility": "error",
1092
+ // Overrides rules
1093
+ ...options.overrides
1094
+ }
1095
+ }
1096
+ ];
1097
+
1078
1098
  // src/configs/regexp.ts
1079
1099
  var regexp = (options = {}) => [
1080
1100
  /**
@@ -1235,10 +1255,11 @@ var unicorn = (options = {}) => [
1235
1255
  }
1236
1256
  ];
1237
1257
 
1238
- // src/configs/disables.ts
1239
- var disables = () => [
1258
+ // src/configs/specials.ts
1259
+ var import_globals = __toESM(require("globals"), 1);
1260
+ var specials = () => [
1240
1261
  {
1241
- name: "ntnyq/disables/scripts",
1262
+ name: "ntnyq/specials/scripts",
1242
1263
  files: [`**/scripts/${GLOB_SRC}`],
1243
1264
  rules: {
1244
1265
  "no-console": "off",
@@ -1246,12 +1267,29 @@ var disables = () => [
1246
1267
  }
1247
1268
  },
1248
1269
  {
1249
- name: "ntnyq/disables/cli",
1270
+ name: "ntnyq/specials/cli",
1250
1271
  files: [`**/cli/${GLOB_SRC}`, `**/cli.${GLOB_SRC_EXT}`],
1251
1272
  rules: {
1252
1273
  "no-console": "off",
1253
1274
  "@typescript-eslint/explicit-function-return-type": "off"
1254
1275
  }
1276
+ },
1277
+ {
1278
+ name: "ntnyq/specials/userscript",
1279
+ files: [`**/*.user.${GLOB_SRC_EXT}`],
1280
+ languageOptions: {
1281
+ globals: {
1282
+ ...import_globals.default.greasemonkey
1283
+ }
1284
+ },
1285
+ rules: {
1286
+ camelcase: [
1287
+ "error",
1288
+ {
1289
+ allow: ["^GM_.+"]
1290
+ }
1291
+ ]
1292
+ }
1255
1293
  }
1256
1294
  ];
1257
1295
 
@@ -1387,7 +1425,7 @@ var gitignore = (options = {}) => [
1387
1425
 
1388
1426
  // src/configs/javascript.ts
1389
1427
  var import_js = __toESM(require("@eslint/js"), 1);
1390
- var import_globals = __toESM(require("globals"), 1);
1428
+ var import_globals2 = __toESM(require("globals"), 1);
1391
1429
  var javascript = (options = {}) => {
1392
1430
  const strictRules = {
1393
1431
  complexity: ["error", { max: 30 }],
@@ -1420,9 +1458,9 @@ var javascript = (options = {}) => {
1420
1458
  name: "ntnyq/js/core",
1421
1459
  languageOptions: {
1422
1460
  globals: {
1423
- ...import_globals.default.browser,
1424
- ...import_globals.default.es2021,
1425
- ...import_globals.default.node
1461
+ ...import_globals2.default.browser,
1462
+ ...import_globals2.default.es2021,
1463
+ ...import_globals2.default.node
1426
1464
  },
1427
1465
  sourceType: "module"
1428
1466
  },
@@ -1777,7 +1815,7 @@ function getOverrides(options, key) {
1777
1815
  }
1778
1816
 
1779
1817
  // src/core.ts
1780
- function ntnyq(options = {}, userConfigs = []) {
1818
+ function defineESLintConfig(options = {}, userConfigs = []) {
1781
1819
  const configs = [];
1782
1820
  if (options.gitignore ?? true) {
1783
1821
  configs.push(
@@ -1913,7 +1951,7 @@ function ntnyq(options = {}, userConfigs = []) {
1913
1951
  })
1914
1952
  );
1915
1953
  }
1916
- const configDisables = disables();
1954
+ const configSpecials = specials();
1917
1955
  const configPrettier = options.prettier ?? true ? prettier({
1918
1956
  ...resolveSubOptions(options, "prettier"),
1919
1957
  overrides: getOverrides(options, "prettier")
@@ -1922,11 +1960,12 @@ function ntnyq(options = {}, userConfigs = []) {
1922
1960
  composer.append(
1923
1961
  ...configs,
1924
1962
  ...toArray(userConfigs),
1925
- ...configDisables,
1963
+ ...configSpecials,
1926
1964
  ...configPrettier
1927
1965
  );
1928
1966
  return composer;
1929
1967
  }
1968
+ var ntnyq = defineESLintConfig;
1930
1969
  // Annotate the CommonJS export names for ESM import in node:
1931
1970
  0 && (module.exports = {
1932
1971
  GLOB_ALL_SRC,
@@ -1959,7 +1998,8 @@ function ntnyq(options = {}, userConfigs = []) {
1959
1998
  antfu,
1960
1999
  command,
1961
2000
  comments,
1962
- disables,
2001
+ createConfigNtnyq,
2002
+ defineESLintConfig,
1963
2003
  getOverrides,
1964
2004
  gitignore,
1965
2005
  hasTypeScript,
@@ -1989,6 +2029,7 @@ function ntnyq(options = {}, userConfigs = []) {
1989
2029
  pluginJsonc,
1990
2030
  pluginMarkdown,
1991
2031
  pluginNode,
2032
+ pluginNtnyq,
1992
2033
  pluginPerfectionist,
1993
2034
  pluginPrettier,
1994
2035
  pluginRegexp,
@@ -2005,6 +2046,7 @@ function ntnyq(options = {}, userConfigs = []) {
2005
2046
  sortI18nLocale,
2006
2047
  sortPackageJson,
2007
2048
  sortTsConfig,
2049
+ specials,
2008
2050
  test,
2009
2051
  toArray,
2010
2052
  toml,
package/dist/index.d.cts CHANGED
@@ -17,6 +17,7 @@ export { default as pluginNode } from 'eslint-plugin-n';
17
17
  export { default as pluginVue } from 'eslint-plugin-vue';
18
18
  export { default as pluginYaml } from 'eslint-plugin-yml';
19
19
  export { default as pluginToml } from 'eslint-plugin-toml';
20
+ export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
20
21
  export { default as pluginMarkdown } from '@eslint/markdown';
21
22
  export { default as pluginAntfu } from 'eslint-plugin-antfu';
22
23
  export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
@@ -2991,6 +2992,11 @@ interface RuleOptions {
2991
2992
  * @deprecated
2992
2993
  */
2993
2994
  'nonblock-statement-body-position'?: Linter.RuleEntry<NonblockStatementBodyPosition>;
2995
+ /**
2996
+ * Disallow usage of typescript member accessibility
2997
+ * @see https://eslint-plugin.ntnyq.com/rules/no-member-accessibility.html
2998
+ */
2999
+ 'ntnyq/no-member-accessibility'?: Linter.RuleEntry<[]>;
2994
3000
  /**
2995
3001
  * Enforce consistent line breaks after opening and before closing braces
2996
3002
  * @see https://eslint.org/docs/latest/rules/object-curly-newline
@@ -12211,7 +12217,7 @@ type Yoda = [] | [("always" | "never")] | [
12211
12217
  onlyEquality?: boolean;
12212
12218
  }
12213
12219
  ];
12214
- type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
12220
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
12215
12221
 
12216
12222
  /**
12217
12223
  * Typed flat config item
@@ -12258,6 +12264,8 @@ interface ConfigNodeOptions extends OptionsOverrides {
12258
12264
  }
12259
12265
  interface ConfigAntfuOptions extends OptionsOverrides {
12260
12266
  }
12267
+ interface ConfigNtnyqOptions extends OptionsOverrides {
12268
+ }
12261
12269
  interface ConfigPrettierOptions extends OptionsOverrides {
12262
12270
  /**
12263
12271
  * Prettier level
@@ -12357,6 +12365,10 @@ interface ConfigOptions {
12357
12365
  * @internal
12358
12366
  */
12359
12367
  antfu?: boolean | ConfigAntfuOptions;
12368
+ /**
12369
+ * @internal
12370
+ */
12371
+ ntnyq?: boolean | ConfigNtnyqOptions;
12360
12372
  comments?: boolean | ConfigCommentsOptions;
12361
12373
  jsdoc?: boolean | ConfigJsdocOptions;
12362
12374
  unocss?: boolean | ConfigUnoCSSOptions;
@@ -12370,13 +12382,17 @@ interface ConfigOptions {
12370
12382
  }
12371
12383
 
12372
12384
  /**
12373
- * @file presets
12385
+ * @file factory function to create ESLint config
12374
12386
  */
12375
12387
 
12376
12388
  /**
12377
12389
  * Config factory
12378
12390
  */
12379
- declare function ntnyq(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigNames>;
12391
+ declare function defineESLintConfig(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigNames>;
12392
+ /**
12393
+ * @deprecated use `defineESLintConfig` instead
12394
+ */
12395
+ declare const ntnyq: typeof defineESLintConfig;
12380
12396
 
12381
12397
  /**
12382
12398
  * @file globs constants
@@ -12455,6 +12471,8 @@ declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
12455
12471
 
12456
12472
  declare const jsonc: (options?: ConfigJsoncOptions) => TypedConfigItem[];
12457
12473
 
12474
+ declare const createConfigNtnyq: (options?: ConfigNtnyqOptions) => TypedConfigItem[];
12475
+
12458
12476
  declare const regexp: (options?: ConfigRegexpOptions) => TypedConfigItem[];
12459
12477
 
12460
12478
  declare const unocss: (options?: ConfigUnoCSSOptions) => TypedConfigItem[];
@@ -12470,7 +12488,7 @@ declare const imports: (options?: ConfigImportsOptions) => TypedConfigItem[];
12470
12488
 
12471
12489
  declare const unicorn: (options?: ConfigUnicornOptions) => TypedConfigItem[];
12472
12490
 
12473
- declare const disables: () => TypedConfigItem[];
12491
+ declare const specials: () => TypedConfigItem[];
12474
12492
 
12475
12493
  declare const comments: (options?: ConfigCommentsOptions) => TypedConfigItem[];
12476
12494
 
@@ -12490,4 +12508,4 @@ declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConf
12490
12508
 
12491
12509
  declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
12492
12510
 
12493
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, disables, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
12511
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, createConfigNtnyq, defineESLintConfig, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, specials, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { default as pluginNode } from 'eslint-plugin-n';
17
17
  export { default as pluginVue } from 'eslint-plugin-vue';
18
18
  export { default as pluginYaml } from 'eslint-plugin-yml';
19
19
  export { default as pluginToml } from 'eslint-plugin-toml';
20
+ export { default as pluginNtnyq } from 'eslint-plugin-ntnyq';
20
21
  export { default as pluginMarkdown } from '@eslint/markdown';
21
22
  export { default as pluginAntfu } from 'eslint-plugin-antfu';
22
23
  export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
@@ -2991,6 +2992,11 @@ interface RuleOptions {
2991
2992
  * @deprecated
2992
2993
  */
2993
2994
  'nonblock-statement-body-position'?: Linter.RuleEntry<NonblockStatementBodyPosition>;
2995
+ /**
2996
+ * Disallow usage of typescript member accessibility
2997
+ * @see https://eslint-plugin.ntnyq.com/rules/no-member-accessibility.html
2998
+ */
2999
+ 'ntnyq/no-member-accessibility'?: Linter.RuleEntry<[]>;
2994
3000
  /**
2995
3001
  * Enforce consistent line breaks after opening and before closing braces
2996
3002
  * @see https://eslint.org/docs/latest/rules/object-curly-newline
@@ -12211,7 +12217,7 @@ type Yoda = [] | [("always" | "never")] | [
12211
12217
  onlyEquality?: boolean;
12212
12218
  }
12213
12219
  ];
12214
- type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
12220
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
12215
12221
 
12216
12222
  /**
12217
12223
  * Typed flat config item
@@ -12258,6 +12264,8 @@ interface ConfigNodeOptions extends OptionsOverrides {
12258
12264
  }
12259
12265
  interface ConfigAntfuOptions extends OptionsOverrides {
12260
12266
  }
12267
+ interface ConfigNtnyqOptions extends OptionsOverrides {
12268
+ }
12261
12269
  interface ConfigPrettierOptions extends OptionsOverrides {
12262
12270
  /**
12263
12271
  * Prettier level
@@ -12357,6 +12365,10 @@ interface ConfigOptions {
12357
12365
  * @internal
12358
12366
  */
12359
12367
  antfu?: boolean | ConfigAntfuOptions;
12368
+ /**
12369
+ * @internal
12370
+ */
12371
+ ntnyq?: boolean | ConfigNtnyqOptions;
12360
12372
  comments?: boolean | ConfigCommentsOptions;
12361
12373
  jsdoc?: boolean | ConfigJsdocOptions;
12362
12374
  unocss?: boolean | ConfigUnoCSSOptions;
@@ -12370,13 +12382,17 @@ interface ConfigOptions {
12370
12382
  }
12371
12383
 
12372
12384
  /**
12373
- * @file presets
12385
+ * @file factory function to create ESLint config
12374
12386
  */
12375
12387
 
12376
12388
  /**
12377
12389
  * Config factory
12378
12390
  */
12379
- declare function ntnyq(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigNames>;
12391
+ declare function defineESLintConfig(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigNames>;
12392
+ /**
12393
+ * @deprecated use `defineESLintConfig` instead
12394
+ */
12395
+ declare const ntnyq: typeof defineESLintConfig;
12380
12396
 
12381
12397
  /**
12382
12398
  * @file globs constants
@@ -12455,6 +12471,8 @@ declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
12455
12471
 
12456
12472
  declare const jsonc: (options?: ConfigJsoncOptions) => TypedConfigItem[];
12457
12473
 
12474
+ declare const createConfigNtnyq: (options?: ConfigNtnyqOptions) => TypedConfigItem[];
12475
+
12458
12476
  declare const regexp: (options?: ConfigRegexpOptions) => TypedConfigItem[];
12459
12477
 
12460
12478
  declare const unocss: (options?: ConfigUnoCSSOptions) => TypedConfigItem[];
@@ -12470,7 +12488,7 @@ declare const imports: (options?: ConfigImportsOptions) => TypedConfigItem[];
12470
12488
 
12471
12489
  declare const unicorn: (options?: ConfigUnicornOptions) => TypedConfigItem[];
12472
12490
 
12473
- declare const disables: () => TypedConfigItem[];
12491
+ declare const specials: () => TypedConfigItem[];
12474
12492
 
12475
12493
  declare const comments: (options?: ConfigCommentsOptions) => TypedConfigItem[];
12476
12494
 
@@ -12490,4 +12508,4 @@ declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConf
12490
12508
 
12491
12509
  declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
12492
12510
 
12493
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, disables, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
12511
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, createConfigNtnyq, defineESLintConfig, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, specials, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
package/dist/index.js CHANGED
@@ -105,18 +105,19 @@ import { default as default2 } from "eslint-plugin-n";
105
105
  import { default as default3 } from "eslint-plugin-vue";
106
106
  import { default as default4 } from "eslint-plugin-yml";
107
107
  import { default as default5 } from "eslint-plugin-toml";
108
- import { default as default6 } from "@eslint/markdown";
109
- import { default as default7 } from "eslint-plugin-antfu";
110
- import { default as default8 } from "eslint-plugin-jsdoc";
111
- import { default as default9 } from "eslint-plugin-jsonc";
112
- import { default as default10 } from "@unocss/eslint-plugin";
113
- import { default as default11 } from "@vitest/eslint-plugin";
114
- import { default as default12 } from "eslint-plugin-import-x";
115
- import { default as default13 } from "eslint-plugin-unicorn";
116
- import { default as default14 } from "eslint-plugin-prettier";
117
- import { default as default15 } from "eslint-plugin-perfectionist";
118
- import { default as default16 } from "eslint-plugin-unused-imports";
119
- import { default as default17 } from "@eslint-community/eslint-plugin-eslint-comments";
108
+ import { default as default6 } from "eslint-plugin-ntnyq";
109
+ import { default as default7 } from "@eslint/markdown";
110
+ import { default as default8 } from "eslint-plugin-antfu";
111
+ import { default as default9 } from "eslint-plugin-jsdoc";
112
+ import { default as default10 } from "eslint-plugin-jsonc";
113
+ import { default as default11 } from "@unocss/eslint-plugin";
114
+ import { default as default12 } from "@vitest/eslint-plugin";
115
+ import { default as default13 } from "eslint-plugin-import-x";
116
+ import { default as default14 } from "eslint-plugin-unicorn";
117
+ import { default as default15 } from "eslint-plugin-prettier";
118
+ import { default as default16 } from "eslint-plugin-perfectionist";
119
+ import { default as default17 } from "eslint-plugin-unused-imports";
120
+ import { default as default18 } from "@eslint-community/eslint-plugin-eslint-comments";
120
121
 
121
122
  // src/configs/typescript.ts
122
123
  import process from "node:process";
@@ -848,11 +849,11 @@ var vitest = (options = {}) => [
848
849
  {
849
850
  name: "ntnyq/vitest",
850
851
  plugins: {
851
- vitest: default11
852
+ vitest: default12
852
853
  },
853
854
  files: [...GLOB_TEST],
854
855
  rules: {
855
- ...default11.configs.recommended.rules,
856
+ ...default12.configs.recommended.rules,
856
857
  // Overrides rules
857
858
  ...options.overridesVitestRules
858
859
  }
@@ -864,13 +865,14 @@ var antfu = (options = {}) => [
864
865
  {
865
866
  name: "ntnyq/antfu",
866
867
  plugins: {
867
- antfu: default7
868
+ antfu: default8
868
869
  },
869
870
  rules: {
870
871
  // required `object-curly-newline` to be disabled
871
872
  // 'antfu/consistent-list-newline': 'error',
872
873
  "antfu/import-dedupe": "error",
873
874
  "antfu/top-level-function": "error",
875
+ // Overrides rules
874
876
  ...options.overrides
875
877
  }
876
878
  }
@@ -881,7 +883,7 @@ var jsdoc = (options = {}) => [
881
883
  {
882
884
  name: "ntnyq/jsdoc",
883
885
  plugins: {
884
- jsdoc: default8
886
+ jsdoc: default9
885
887
  },
886
888
  rules: {
887
889
  "jsdoc/check-access": "warn",
@@ -913,13 +915,13 @@ var jsonc = (options = {}) => [
913
915
  name: "ntnyq/jsonc",
914
916
  files: [GLOB_JSON, GLOB_JSON5, GLOB_JSONC],
915
917
  plugins: {
916
- jsonc: default9
918
+ jsonc: default10
917
919
  },
918
920
  languageOptions: {
919
921
  parser: parserJsonc
920
922
  },
921
923
  rules: {
922
- ...default9.configs["recommended-with-jsonc"].rules,
924
+ ...default10.configs["recommended-with-jsonc"].rules,
923
925
  "jsonc/array-bracket-spacing": ["error", "never"],
924
926
  "jsonc/comma-dangle": ["error", "never"],
925
927
  "jsonc/comma-style": ["error", "last"],
@@ -952,6 +954,21 @@ var jsonc = (options = {}) => [
952
954
  }
953
955
  ];
954
956
 
957
+ // src/configs/ntnyq.ts
958
+ var createConfigNtnyq = (options = {}) => [
959
+ {
960
+ name: "ntnyq/ntnyq",
961
+ plugins: {
962
+ ntnyq: default6
963
+ },
964
+ rules: {
965
+ "ntnyq/no-member-accessibility": "error",
966
+ // Overrides rules
967
+ ...options.overrides
968
+ }
969
+ }
970
+ ];
971
+
955
972
  // src/configs/regexp.ts
956
973
  var regexp = (options = {}) => [
957
974
  /**
@@ -970,7 +987,7 @@ var unocss = (options = {}) => [
970
987
  {
971
988
  name: "ntnyq/unocss",
972
989
  plugins: {
973
- unocss: default10
990
+ unocss: default11
974
991
  },
975
992
  rules: {
976
993
  "unocss/order": "error",
@@ -1008,7 +1025,7 @@ var imports = (options = {}) => [
1008
1025
  {
1009
1026
  name: "ntnyq/imports",
1010
1027
  plugins: {
1011
- import: default12
1028
+ import: default13
1012
1029
  },
1013
1030
  settings: {
1014
1031
  "import/resolver": {
@@ -1039,7 +1056,7 @@ var unicorn = (options = {}) => [
1039
1056
  {
1040
1057
  name: "ntnyq/unicorn",
1041
1058
  plugins: {
1042
- unicorn: default13
1059
+ unicorn: default14
1043
1060
  },
1044
1061
  rules: {
1045
1062
  // Disabled for now
@@ -1112,10 +1129,11 @@ var unicorn = (options = {}) => [
1112
1129
  }
1113
1130
  ];
1114
1131
 
1115
- // src/configs/disables.ts
1116
- var disables = () => [
1132
+ // src/configs/specials.ts
1133
+ import globals from "globals";
1134
+ var specials = () => [
1117
1135
  {
1118
- name: "ntnyq/disables/scripts",
1136
+ name: "ntnyq/specials/scripts",
1119
1137
  files: [`**/scripts/${GLOB_SRC}`],
1120
1138
  rules: {
1121
1139
  "no-console": "off",
@@ -1123,12 +1141,29 @@ var disables = () => [
1123
1141
  }
1124
1142
  },
1125
1143
  {
1126
- name: "ntnyq/disables/cli",
1144
+ name: "ntnyq/specials/cli",
1127
1145
  files: [`**/cli/${GLOB_SRC}`, `**/cli.${GLOB_SRC_EXT}`],
1128
1146
  rules: {
1129
1147
  "no-console": "off",
1130
1148
  "@typescript-eslint/explicit-function-return-type": "off"
1131
1149
  }
1150
+ },
1151
+ {
1152
+ name: "ntnyq/specials/userscript",
1153
+ files: [`**/*.user.${GLOB_SRC_EXT}`],
1154
+ languageOptions: {
1155
+ globals: {
1156
+ ...globals.greasemonkey
1157
+ }
1158
+ },
1159
+ rules: {
1160
+ camelcase: [
1161
+ "error",
1162
+ {
1163
+ allow: ["^GM_.+"]
1164
+ }
1165
+ ]
1166
+ }
1132
1167
  }
1133
1168
  ];
1134
1169
 
@@ -1137,10 +1172,10 @@ var comments = (options = {}) => [
1137
1172
  {
1138
1173
  name: "ntnyq/eslint-comments",
1139
1174
  plugins: {
1140
- "@eslint-community/eslint-comments": default17
1175
+ "@eslint-community/eslint-comments": default18
1141
1176
  },
1142
1177
  rules: {
1143
- ...default17.configs.recommended.rules,
1178
+ ...default18.configs.recommended.rules,
1144
1179
  "@eslint-community/eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }],
1145
1180
  // Overrides rules
1146
1181
  ...options.overrides
@@ -1150,9 +1185,9 @@ var comments = (options = {}) => [
1150
1185
 
1151
1186
  // src/configs/markdown.ts
1152
1187
  var markdown = (options = {}) => {
1153
- if (!Array.isArray(default6.configs?.processor)) return [];
1188
+ if (!Array.isArray(default7.configs?.processor)) return [];
1154
1189
  return [
1155
- ...default6.configs.processor.map((config) => ({
1190
+ ...default7.configs.processor.map((config) => ({
1156
1191
  ...config,
1157
1192
  name: `ntnyq/${config.name}`
1158
1193
  })),
@@ -1192,7 +1227,7 @@ var prettier = (options = {}) => [
1192
1227
  {
1193
1228
  name: "ntnyq/prettier",
1194
1229
  plugins: {
1195
- prettier: default14
1230
+ prettier: default15
1196
1231
  },
1197
1232
  rules: {
1198
1233
  "vue/array-bracket-newline": "off",
@@ -1232,7 +1267,7 @@ var prettier = (options = {}) => [
1232
1267
  "vue/space-infix-ops": "off",
1233
1268
  "vue/space-unary-ops": "off",
1234
1269
  "vue/template-curly-spacing": "off",
1235
- ...default14.configs.recommended.rules,
1270
+ ...default15.configs.recommended.rules,
1236
1271
  "prettier/prettier": options.level || "warn",
1237
1272
  // Overrides rules
1238
1273
  ...options.overrides
@@ -1245,7 +1280,7 @@ var prettier = (options = {}) => [
1245
1280
  name: "ntnyq/prettier/disabled",
1246
1281
  files: [GLOB_TOML],
1247
1282
  plugins: {
1248
- prettier: default14
1283
+ prettier: default15
1249
1284
  },
1250
1285
  rules: {
1251
1286
  "prettier/prettier": "off"
@@ -1264,7 +1299,7 @@ var gitignore = (options = {}) => [
1264
1299
 
1265
1300
  // src/configs/javascript.ts
1266
1301
  import jsConfig from "@eslint/js";
1267
- import globals from "globals";
1302
+ import globals2 from "globals";
1268
1303
  var javascript = (options = {}) => {
1269
1304
  const strictRules = {
1270
1305
  complexity: ["error", { max: 30 }],
@@ -1297,9 +1332,9 @@ var javascript = (options = {}) => {
1297
1332
  name: "ntnyq/js/core",
1298
1333
  languageOptions: {
1299
1334
  globals: {
1300
- ...globals.browser,
1301
- ...globals.es2021,
1302
- ...globals.node
1335
+ ...globals2.browser,
1336
+ ...globals2.es2021,
1337
+ ...globals2.node
1303
1338
  },
1304
1339
  sourceType: "module"
1305
1340
  },
@@ -1500,7 +1535,7 @@ var perfectionist = (options = {}) => [
1500
1535
  {
1501
1536
  name: "ntnyq/perfectionist",
1502
1537
  plugins: {
1503
- perfectionist: default15
1538
+ perfectionist: default16
1504
1539
  },
1505
1540
  rules: {
1506
1541
  "perfectionist/sort-imports": [
@@ -1586,7 +1621,7 @@ var unusedImports = (options = {}) => [
1586
1621
  {
1587
1622
  name: "ntnyq/unused-imports",
1588
1623
  plugins: {
1589
- "unused-imports": default16
1624
+ "unused-imports": default17
1590
1625
  },
1591
1626
  rules: {
1592
1627
  "@typescript-eslint/no-unused-vars": "off",
@@ -1654,7 +1689,7 @@ function getOverrides(options, key) {
1654
1689
  }
1655
1690
 
1656
1691
  // src/core.ts
1657
- function ntnyq(options = {}, userConfigs = []) {
1692
+ function defineESLintConfig(options = {}, userConfigs = []) {
1658
1693
  const configs = [];
1659
1694
  if (options.gitignore ?? true) {
1660
1695
  configs.push(
@@ -1790,7 +1825,7 @@ function ntnyq(options = {}, userConfigs = []) {
1790
1825
  })
1791
1826
  );
1792
1827
  }
1793
- const configDisables = disables();
1828
+ const configSpecials = specials();
1794
1829
  const configPrettier = options.prettier ?? true ? prettier({
1795
1830
  ...resolveSubOptions(options, "prettier"),
1796
1831
  overrides: getOverrides(options, "prettier")
@@ -1799,11 +1834,12 @@ function ntnyq(options = {}, userConfigs = []) {
1799
1834
  composer.append(
1800
1835
  ...configs,
1801
1836
  ...toArray(userConfigs),
1802
- ...configDisables,
1837
+ ...configSpecials,
1803
1838
  ...configPrettier
1804
1839
  );
1805
1840
  return composer;
1806
1841
  }
1842
+ var ntnyq = defineESLintConfig;
1807
1843
  export {
1808
1844
  GLOB_ALL_SRC,
1809
1845
  GLOB_CSS,
@@ -1835,7 +1871,8 @@ export {
1835
1871
  antfu,
1836
1872
  command,
1837
1873
  comments,
1838
- disables,
1874
+ createConfigNtnyq,
1875
+ defineESLintConfig,
1839
1876
  getOverrides,
1840
1877
  gitignore,
1841
1878
  hasTypeScript,
@@ -1858,21 +1895,22 @@ export {
1858
1895
  parserVue,
1859
1896
  parserYaml,
1860
1897
  perfectionist,
1861
- default7 as pluginAntfu,
1862
- default17 as pluginComments,
1863
- default12 as pluginImport,
1864
- default8 as pluginJsdoc,
1865
- default9 as pluginJsonc,
1866
- default6 as pluginMarkdown,
1898
+ default8 as pluginAntfu,
1899
+ default18 as pluginComments,
1900
+ default13 as pluginImport,
1901
+ default9 as pluginJsdoc,
1902
+ default10 as pluginJsonc,
1903
+ default7 as pluginMarkdown,
1867
1904
  default2 as pluginNode,
1868
- default15 as pluginPerfectionist,
1869
- default14 as pluginPrettier,
1905
+ default6 as pluginNtnyq,
1906
+ default16 as pluginPerfectionist,
1907
+ default15 as pluginPrettier,
1870
1908
  pluginRegexp,
1871
1909
  default5 as pluginToml,
1872
- default13 as pluginUnicorn,
1873
- default10 as pluginUnoCSS,
1874
- default16 as pluginUnusedImports,
1875
- default11 as pluginVitest,
1910
+ default14 as pluginUnicorn,
1911
+ default11 as pluginUnoCSS,
1912
+ default17 as pluginUnusedImports,
1913
+ default12 as pluginVitest,
1876
1914
  default3 as pluginVue,
1877
1915
  default4 as pluginYaml,
1878
1916
  prettier,
@@ -1881,6 +1919,7 @@ export {
1881
1919
  sortI18nLocale,
1882
1920
  sortPackageJson,
1883
1921
  sortTsConfig,
1922
+ specials,
1884
1923
  test,
1885
1924
  toArray,
1886
1925
  toml,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.15",
4
+ "version": "3.0.0-beta.17",
5
5
  "packageManager": "pnpm@9.11.0",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
@@ -70,6 +70,7 @@
70
70
  "eslint-plugin-jsdoc": "^50.2.4",
71
71
  "eslint-plugin-jsonc": "^2.16.0",
72
72
  "eslint-plugin-n": "^17.10.3",
73
+ "eslint-plugin-ntnyq": "^0.5.0",
73
74
  "eslint-plugin-perfectionist": "^3.6.0",
74
75
  "eslint-plugin-prettier": "^5.2.1",
75
76
  "eslint-plugin-regexp": "^2.6.0",