@eienjs/eslint-config 0.4.1 → 1.0.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/cli/index.js
CHANGED
package/dist/configs/index.js
CHANGED
|
@@ -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-
|
|
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": ["
|
|
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-
|
|
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