@eienjs/eslint-config 0.4.1 → 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.
package/dist/cli/index.js CHANGED
@@ -9,7 +9,7 @@ import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
 
11
11
  //#region package.json
12
- var version = "0.4.1";
12
+ var version = "1.0.1";
13
13
 
14
14
  //#endregion
15
15
  //#region src/cli/constants.ts
@@ -138,7 +138,7 @@ async function updateEslintFiles(result) {
138
138
  //#endregion
139
139
  //#region src/cli/constants_generated.ts
140
140
  const versionsMap = {
141
- "@adonisjs/eslint-plugin": "^2.0.0",
141
+ "@adonisjs/eslint-plugin": "^2.0.1",
142
142
  "@nuxt/eslint-plugin": "^1.7.1",
143
143
  "astro-eslint-parser": "^1.2.2",
144
144
  "eslint": "^9.32.0",
@@ -1,3 +1,3 @@
1
- import { StylisticConfigDefaults, adonisjs, astro, command, comments, disables, formatters, ignores, imports, javascript, jsdoc, jsonc, markdown, node, nuxt, perfectionist, pnpm, regexp, sortPackageJson, sortTsconfig, stylistic, test, toml, typescript, unicorn, vue, yaml } from "../configs-DWV1I5t-.js";
1
+ import { StylisticConfigDefaults, adonisjs, astro, command, comments, disables, formatters, ignores, imports, javascript, jsdoc, jsonc, markdown, node, nuxt, perfectionist, pnpm, regexp, sortPackageJson, sortTsconfig, stylistic, test, toml, typescript, unicorn, vue, yaml } from "../configs-2UAjGCgy.js";
2
2
 
3
3
  export { StylisticConfigDefaults, adonisjs, astro, command, comments, disables, formatters, ignores, imports, javascript, jsdoc, jsonc, markdown, node, nuxt, perfectionist, pnpm, regexp, sortPackageJson, sortTsconfig, stylistic, test, toml, typescript, unicorn, vue, yaml };
@@ -393,6 +393,30 @@ async function disables() {
393
393
  "no-console": "off",
394
394
  "@typescript-eslint/explicit-function-return-type": "off"
395
395
  }
396
+ },
397
+ {
398
+ files: [
399
+ GLOB_JSON,
400
+ GLOB_JSON5,
401
+ GLOB_JSONC
402
+ ],
403
+ name: "eienjs/disables/json",
404
+ rules: { "@stylistic/max-len": "off" }
405
+ },
406
+ {
407
+ files: [GLOB_YAML],
408
+ name: "eienjs/disables/yaml",
409
+ rules: { "@stylistic/max-len": "off" }
410
+ },
411
+ {
412
+ files: [GLOB_TOML],
413
+ name: "eienjs/disables/toml",
414
+ rules: { "@stylistic/max-len": "off" }
415
+ },
416
+ {
417
+ files: [GLOB_ASTRO],
418
+ name: "eienjs/disables/astro",
419
+ rules: { "@stylistic/max-len": "off" }
396
420
  }
397
421
  ];
398
422
  }
@@ -430,7 +454,7 @@ async function stylistic(options = {}) {
430
454
  "1tbs",
431
455
  { allowSingleLine: true }
432
456
  ],
433
- "@stylistic/max-len": ["error", {
457
+ "@stylistic/max-len": ["warn", {
434
458
  code: maxLineLength,
435
459
  ignoreComments: true
436
460
  }],
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_EXTS, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, adonisjs, astro, combine, command, comments, disables, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, markdown, node, nuxt, parserPlain, perfectionist, pnpm, regexp, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, vue, yaml } from "./configs-DWV1I5t-.js";
1
+ import { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_EXTS, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, adonisjs, astro, combine, command, comments, disables, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, markdown, node, nuxt, parserPlain, perfectionist, pnpm, regexp, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, vue, yaml } from "./configs-2UAjGCgy.js";
2
2
  import { FlatConfigComposer } from "eslint-flat-config-utils";
3
3
  import { isPackageExists } from "local-pkg";
4
4
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eienjs/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.1",
4
+ "version": "1.0.1",
5
5
  "description": "EienJS ESLint Config",
6
6
  "author": "Fernando Isidro <luffynando@gmail.com> (https://github.com/luffynando/)",
7
7
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "node": ">=20.11"
34
34
  },
35
35
  "peerDependencies": {
36
- "@adonisjs/eslint-plugin": "^2.0.0",
36
+ "@adonisjs/eslint-plugin": "^2.0.1",
37
37
  "@nuxt/eslint-plugin": " ^1.7.1",
38
38
  "@prettier/plugin-xml": "^3.4.2",
39
39
  "astro-eslint-parser": "^1.2.2",
@@ -71,8 +71,8 @@
71
71
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
72
72
  "@eslint/markdown": "^7.1.0",
73
73
  "@stylistic/eslint-plugin": "^5.2.2",
74
- "@typescript-eslint/eslint-plugin": "^8.38.0",
75
- "@typescript-eslint/parser": "^8.38.0",
74
+ "@typescript-eslint/eslint-plugin": "^8.39.0",
75
+ "@typescript-eslint/parser": "^8.39.0",
76
76
  "@vitest/eslint-plugin": "^1.3.4",
77
77
  "ansis": "^4.1.0",
78
78
  "cac": "^6.7.14",
@@ -105,7 +105,7 @@
105
105
  "yaml-eslint-parser": "^1.3.0"
106
106
  },
107
107
  "devDependencies": {
108
- "@adonisjs/eslint-plugin": "^2.0.0",
108
+ "@adonisjs/eslint-plugin": "^2.0.1",
109
109
  "@commitlint/cli": "^19.8.1",
110
110
  "@commitlint/config-conventional": "^19.8.1",
111
111
  "@eslint/config-inspector": "^1.1.0",
@@ -121,9 +121,9 @@
121
121
  "husky": "^9.1.7",
122
122
  "np": "^10.2.0",
123
123
  "prettier-plugin-astro": "^0.14.1",
124
- "tsdown": "^0.13.2",
124
+ "tsdown": "^0.13.3",
125
125
  "tsx": "^4.20.3",
126
- "typescript": ">=4.8.4 <5.9.0"
126
+ "typescript": "^5.9.2"
127
127
  },
128
128
  "resolutions": {
129
129
  "eslint": "catalog:peer"