@eienjs/eslint-config 0.4.0 → 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
@@ -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.0";
12
+ var version = "1.0.0";
13
13
 
14
14
  //#endregion
15
15
  //#region src/cli/constants.ts
@@ -1,4 +1,4 @@
1
- import { OptionsAdonisJS, OptionsComponentExts, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsNuxt, OptionsOverrides, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsVue, StylisticConfig, TypedFlatConfigItem } from "../types-Cd5vIRtv.js";
1
+ import { OptionsAdonisJS, OptionsComponentExts, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsNuxt, OptionsOverrides, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsVue, StylisticConfig, TypedFlatConfigItem } from "../types-Dox_r0zd.js";
2
2
 
3
3
  //#region src/configs/adonisjs.d.ts
4
4
  declare function adonisjs(options?: OptionsAdonisJS): Promise<TypedFlatConfigItem[]>;
@@ -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-CIPkS6TK.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
  }],
@@ -1074,7 +1098,6 @@ async function markdown(options = {}) {
1074
1098
  "@typescript-eslint/no-use-before-define": "off",
1075
1099
  "unused-imports/no-unused-imports": "off",
1076
1100
  "unused-imports/no-unused-vars": "off",
1077
- "unicorn/filename-case": "off",
1078
1101
  ...overrides
1079
1102
  }
1080
1103
  }
@@ -1117,6 +1140,7 @@ async function nuxt(options = {}) {
1117
1140
  dirs.modules = dirs.modules ?? dirs.src.map((src) => `${src}/modules`);
1118
1141
  dirs.middleware = dirs.middleware ?? dirs.src.map((src) => `${src}/middleware`);
1119
1142
  dirs.servers = dirs.servers ?? dirs.src.map((src) => `${src}/servers`);
1143
+ dirs.utils = dirs.utils ?? dirs.src.map((src) => `${src}/utils`);
1120
1144
  dirs.componentsPrefixed = dirs.componentsPrefixed ?? [];
1121
1145
  const fileSingleRoot = [
1122
1146
  ...dirs.layouts?.map((layoutsDir) => join(layoutsDir, `**/*.${GLOB_EXTS}`)) || [],
@@ -1181,6 +1205,11 @@ async function nuxt(options = {}) {
1181
1205
  ...overrides
1182
1206
  }
1183
1207
  },
1208
+ {
1209
+ files: dirs.utils.map((utilsDir) => join(utilsDir, GLOB_SRC)),
1210
+ name: "eienjs/nuxt/utils-disables",
1211
+ rules: { "@typescript-eslint/explicit-module-boundary-types": "off" }
1212
+ },
1184
1213
  ...sortConfigKeys ? [{
1185
1214
  files: ["**/nuxt.config.?([cm])[jt]s?(x)"],
1186
1215
  name: "eienjs/nuxt/sort-config",
@@ -1833,7 +1862,6 @@ async function unicorn(options = {}) {
1833
1862
  "unicorn/no-this-assignment": "off",
1834
1863
  "unicorn/consistent-destructuring": "error",
1835
1864
  "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
1836
- "unicorn/filename-case": ["error", { case: "snakeCase" }],
1837
1865
  "unicorn/no-null": "off",
1838
1866
  "unicorn/no-static-only-class": "off",
1839
1867
  "unicorn/numeric-separators-style": "off",
@@ -1850,8 +1878,13 @@ async function unicorn(options = {}) {
1850
1878
  "unicorn/no-array-reduce": "off",
1851
1879
  "unicorn/prefer-export-from": "off",
1852
1880
  "unicorn/prefer-top-level-await": "off",
1881
+ "unicorn/filename-case": "off",
1853
1882
  ...overrides
1854
1883
  }
1884
+ }, {
1885
+ files: [GLOB_SRC],
1886
+ name: "eienjs/unicorn/special-rules",
1887
+ rules: { "unicorn/filename-case": ["error", { case: "snakeCase" }] }
1855
1888
  }];
1856
1889
  }
1857
1890
 
@@ -1866,183 +1899,190 @@ async function vue(options = {}) {
1866
1899
  interopDefault(import("vue-eslint-parser")),
1867
1900
  interopDefault(import("eslint-processor-vue-blocks"))
1868
1901
  ]);
1869
- return [{
1870
- languageOptions: { globals: {
1871
- computed: "readonly",
1872
- defineEmits: "readonly",
1873
- defineExpose: "readonly",
1874
- defineProps: "readonly",
1875
- onMounted: "readonly",
1876
- onUnmounted: "readonly",
1877
- reactive: "readonly",
1878
- ref: "readonly",
1879
- shallowReactive: "readonly",
1880
- shallowRef: "readonly",
1881
- toRef: "readonly",
1882
- toRefs: "readonly",
1883
- watch: "readonly",
1884
- watchEffect: "readonly"
1885
- } },
1886
- name: "eienjs/vue/setup",
1887
- plugins: { vue: pluginVue }
1888
- }, {
1889
- files,
1890
- languageOptions: {
1891
- parser: parserVue,
1892
- parserOptions: {
1893
- ecmaFeatures: { jsx: true },
1894
- extraFileExtensions: [".vue"],
1895
- parser: typescript$1 ? await interopDefault(import("@typescript-eslint/parser")) : null,
1896
- sourceType: "module"
1897
- }
1902
+ return [
1903
+ {
1904
+ languageOptions: { globals: {
1905
+ computed: "readonly",
1906
+ defineEmits: "readonly",
1907
+ defineExpose: "readonly",
1908
+ defineProps: "readonly",
1909
+ onMounted: "readonly",
1910
+ onUnmounted: "readonly",
1911
+ reactive: "readonly",
1912
+ ref: "readonly",
1913
+ shallowReactive: "readonly",
1914
+ shallowRef: "readonly",
1915
+ toRef: "readonly",
1916
+ toRefs: "readonly",
1917
+ watch: "readonly",
1918
+ watchEffect: "readonly"
1919
+ } },
1920
+ name: "eienjs/vue/setup",
1921
+ plugins: { vue: pluginVue }
1898
1922
  },
1899
- name: "eienjs/vue/rules",
1900
- processor: sfcBlocks === false ? pluginVue.processors[".vue"] : mergeProcessors([pluginVue.processors[".vue"], processorVueBlocks({
1901
- ...sfcBlocks,
1902
- blocks: {
1903
- styles: true,
1904
- ...sfcBlocks.blocks
1905
- }
1906
- })]),
1907
- rules: {
1908
- ...pluginVue.configs.base.rules,
1909
- ...pluginVue.configs["flat/essential"].map((c) => c.rules).reduce((acc, c) => ({
1910
- ...acc,
1911
- ...c
1912
- }), {}),
1913
- ...pluginVue.configs["flat/strongly-recommended"].map((c) => c.rules).reduce((acc, c) => ({
1914
- ...acc,
1915
- ...c
1916
- }), {}),
1917
- ...pluginVue.configs["flat/recommended"].map((c) => c.rules).reduce((acc, c) => ({
1918
- ...acc,
1919
- ...c
1920
- }), {}),
1921
- "vue/block-lang": ["error", { script: { lang: "ts" } }],
1922
- "vue/block-order": ["error", { order: [
1923
- "script",
1924
- "template",
1925
- "style"
1926
- ] }],
1927
- "vue/component-api-style": ["error", ["script-setup"]],
1928
- "vue/component-name-in-template-casing": [
1929
- "error",
1930
- "PascalCase",
1931
- { registeredComponentsOnly: true }
1932
- ],
1933
- "vue/component-options-name-casing": ["error", "PascalCase"],
1934
- "vue/custom-event-name-casing": ["error", "camelCase"],
1935
- "vue/define-macros-order": ["error", { order: [
1936
- "defineOptions",
1937
- "defineProps",
1938
- "defineEmits",
1939
- "defineSlots"
1940
- ] }],
1941
- "vue/define-props-declaration": ["error", "runtime"],
1942
- "vue/dot-location": ["error", "property"],
1943
- "vue/dot-notation": ["error", { allowKeywords: true }],
1944
- "vue/eqeqeq": ["error", "smart"],
1945
- "vue/html-indent": ["error", indent],
1946
- "vue/html-quotes": ["error", "double"],
1947
- "vue/max-attributes-per-line": "off",
1948
- "vue/multi-word-component-names": "off",
1949
- "vue/no-dupe-keys": "off",
1950
- "vue/no-empty-component-block": "error",
1951
- "vue/no-empty-pattern": "error",
1952
- "vue/no-irregular-whitespace": "error",
1953
- "vue/no-loss-of-precision": "error",
1954
- "vue/no-multiple-objects-in-class": "error",
1955
- "vue/no-ref-object-reactivity-loss": "error",
1956
- "vue/no-required-prop-with-default": "error",
1957
- "vue/no-restricted-syntax": [
1958
- "error",
1959
- "DebuggerStatement",
1960
- "LabeledStatement",
1961
- "WithStatement"
1962
- ],
1963
- "vue/no-restricted-v-bind": ["error", "/^v-/"],
1964
- "vue/no-root-v-if": "error",
1965
- "vue/no-setup-props-reactivity-loss": "off",
1966
- "vue/no-sparse-arrays": "error",
1967
- "vue/no-template-target-blank": "error",
1968
- "vue/no-unused-properties": "error",
1969
- "vue/no-unused-refs": "error",
1970
- "vue/no-use-v-else-with-v-for": "error",
1971
- "vue/no-useless-mustaches": "error",
1972
- "vue/no-useless-v-bind": "error",
1973
- "vue/no-v-html": "off",
1974
- "vue/object-shorthand": [
1975
- "error",
1976
- "always",
1977
- {
1978
- avoidQuotes: true,
1979
- ignoreConstructors: false
1923
+ {
1924
+ files,
1925
+ languageOptions: {
1926
+ parser: parserVue,
1927
+ parserOptions: {
1928
+ ecmaFeatures: { jsx: true },
1929
+ extraFileExtensions: [".vue"],
1930
+ parser: typescript$1 ? await interopDefault(import("@typescript-eslint/parser")) : null,
1931
+ sourceType: "module"
1980
1932
  }
1981
- ],
1982
- "vue/prefer-separate-static-class": "error",
1983
- "vue/prefer-template": "error",
1984
- "vue/prefer-true-attribute-shorthand": "error",
1985
- "vue/prop-name-casing": ["error", "camelCase"],
1986
- "vue/require-typed-ref": "error",
1987
- "vue/space-infix-ops": "error",
1988
- "vue/space-unary-ops": ["error", {
1989
- nonwords: false,
1990
- words: true
1991
- }],
1992
- "vue/static-class-names-order": "off",
1993
- ...stylistic$1 ? {
1994
- "vue/array-bracket-spacing": ["error", "never"],
1995
- "vue/arrow-spacing": ["error", {
1996
- after: true,
1997
- before: true
1998
- }],
1999
- "vue/block-spacing": ["error", "always"],
2000
- "vue/block-tag-newline": ["error", {
2001
- multiline: "always",
2002
- singleline: "always"
2003
- }],
2004
- "vue/brace-style": [
1933
+ },
1934
+ name: "eienjs/vue/rules",
1935
+ processor: sfcBlocks === false ? pluginVue.processors[".vue"] : mergeProcessors([pluginVue.processors[".vue"], processorVueBlocks({
1936
+ ...sfcBlocks,
1937
+ blocks: {
1938
+ styles: true,
1939
+ ...sfcBlocks.blocks
1940
+ }
1941
+ })]),
1942
+ rules: {
1943
+ ...pluginVue.configs.base.rules,
1944
+ ...pluginVue.configs["flat/essential"].map((c) => c.rules).reduce((acc, c) => ({
1945
+ ...acc,
1946
+ ...c
1947
+ }), {}),
1948
+ ...pluginVue.configs["flat/strongly-recommended"].map((c) => c.rules).reduce((acc, c) => ({
1949
+ ...acc,
1950
+ ...c
1951
+ }), {}),
1952
+ ...pluginVue.configs["flat/recommended"].map((c) => c.rules).reduce((acc, c) => ({
1953
+ ...acc,
1954
+ ...c
1955
+ }), {}),
1956
+ "vue/block-lang": ["error", { script: { lang: "ts" } }],
1957
+ "vue/block-order": ["error", { order: [
1958
+ "script",
1959
+ "template",
1960
+ "style"
1961
+ ] }],
1962
+ "vue/component-api-style": ["error", ["script-setup"]],
1963
+ "vue/component-name-in-template-casing": [
2005
1964
  "error",
2006
- "1tbs",
2007
- { allowSingleLine: true }
1965
+ "PascalCase",
1966
+ { registeredComponentsOnly: true }
2008
1967
  ],
2009
- "vue/comma-dangle": ["error", "always-multiline"],
2010
- "vue/comma-spacing": ["error", {
2011
- after: true,
2012
- before: false
2013
- }],
2014
- "vue/comma-style": ["error", "last"],
2015
- "vue/html-comment-content-spacing": [
1968
+ "vue/component-options-name-casing": ["error", "PascalCase"],
1969
+ "vue/custom-event-name-casing": ["error", "camelCase"],
1970
+ "vue/define-macros-order": ["error", { order: [
1971
+ "defineOptions",
1972
+ "defineProps",
1973
+ "defineEmits",
1974
+ "defineSlots"
1975
+ ] }],
1976
+ "vue/define-props-declaration": ["error", "runtime"],
1977
+ "vue/dot-location": ["error", "property"],
1978
+ "vue/dot-notation": ["error", { allowKeywords: true }],
1979
+ "vue/eqeqeq": ["error", "smart"],
1980
+ "vue/html-indent": ["error", indent],
1981
+ "vue/html-quotes": ["error", "double"],
1982
+ "vue/max-attributes-per-line": "off",
1983
+ "vue/multi-word-component-names": "off",
1984
+ "vue/no-dupe-keys": "off",
1985
+ "vue/no-empty-component-block": "error",
1986
+ "vue/no-empty-pattern": "error",
1987
+ "vue/no-irregular-whitespace": "error",
1988
+ "vue/no-loss-of-precision": "error",
1989
+ "vue/no-multiple-objects-in-class": "error",
1990
+ "vue/no-ref-object-reactivity-loss": "error",
1991
+ "vue/no-required-prop-with-default": "error",
1992
+ "vue/no-restricted-syntax": [
1993
+ "error",
1994
+ "DebuggerStatement",
1995
+ "LabeledStatement",
1996
+ "WithStatement"
1997
+ ],
1998
+ "vue/no-restricted-v-bind": ["error", "/^v-/"],
1999
+ "vue/no-root-v-if": "error",
2000
+ "vue/no-setup-props-reactivity-loss": "off",
2001
+ "vue/no-sparse-arrays": "error",
2002
+ "vue/no-template-target-blank": "error",
2003
+ "vue/no-unused-properties": "error",
2004
+ "vue/no-unused-refs": "error",
2005
+ "vue/no-use-v-else-with-v-for": "error",
2006
+ "vue/no-useless-mustaches": "error",
2007
+ "vue/no-useless-v-bind": "error",
2008
+ "vue/no-v-html": "off",
2009
+ "vue/object-shorthand": [
2016
2010
  "error",
2017
2011
  "always",
2018
- { exceptions: ["-"] }
2012
+ {
2013
+ avoidQuotes: true,
2014
+ ignoreConstructors: false
2015
+ }
2019
2016
  ],
2020
- "vue/key-spacing": ["error", {
2021
- afterColon: true,
2022
- beforeColon: false
2023
- }],
2024
- "vue/keyword-spacing": ["error", {
2025
- after: true,
2026
- before: true
2017
+ "vue/prefer-separate-static-class": "error",
2018
+ "vue/prefer-template": "error",
2019
+ "vue/prefer-true-attribute-shorthand": "error",
2020
+ "vue/prop-name-casing": ["error", "camelCase"],
2021
+ "vue/require-typed-ref": "error",
2022
+ "vue/space-infix-ops": "error",
2023
+ "vue/space-unary-ops": ["error", {
2024
+ nonwords: false,
2025
+ words: true
2027
2026
  }],
2028
- "vue/object-curly-newline": "off",
2029
- "vue/object-curly-spacing": ["error", "always"],
2030
- "vue/object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }],
2031
- "vue/operator-linebreak": ["error", "before"],
2032
- "vue/padding-line-between-blocks": ["error", "always"],
2033
- "vue/quote-props": ["error", "consistent-as-needed"],
2034
- "vue/space-in-parens": ["error", "never"],
2035
- "vue/template-curly-spacing": "error"
2036
- } : {},
2037
- "unicorn/filename-case": "off",
2038
- "antfu/no-top-level-await": "off",
2039
- "n/prefer-global/process": "off",
2040
- "@typescript-eslint/explicit-function-return-type": "off",
2041
- "@typescript-eslint/naming-convention": "off",
2042
- "@stylistic/max-len": "off",
2043
- ...overrides
2027
+ "vue/static-class-names-order": "off",
2028
+ ...stylistic$1 ? {
2029
+ "vue/array-bracket-spacing": ["error", "never"],
2030
+ "vue/arrow-spacing": ["error", {
2031
+ after: true,
2032
+ before: true
2033
+ }],
2034
+ "vue/block-spacing": ["error", "always"],
2035
+ "vue/block-tag-newline": ["error", {
2036
+ multiline: "always",
2037
+ singleline: "always"
2038
+ }],
2039
+ "vue/brace-style": [
2040
+ "error",
2041
+ "1tbs",
2042
+ { allowSingleLine: true }
2043
+ ],
2044
+ "vue/comma-dangle": ["error", "always-multiline"],
2045
+ "vue/comma-spacing": ["error", {
2046
+ after: true,
2047
+ before: false
2048
+ }],
2049
+ "vue/comma-style": ["error", "last"],
2050
+ "vue/html-comment-content-spacing": [
2051
+ "error",
2052
+ "always",
2053
+ { exceptions: ["-"] }
2054
+ ],
2055
+ "vue/key-spacing": ["error", {
2056
+ afterColon: true,
2057
+ beforeColon: false
2058
+ }],
2059
+ "vue/keyword-spacing": ["error", {
2060
+ after: true,
2061
+ before: true
2062
+ }],
2063
+ "vue/object-curly-newline": "off",
2064
+ "vue/object-curly-spacing": ["error", "always"],
2065
+ "vue/object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }],
2066
+ "vue/operator-linebreak": ["error", "before"],
2067
+ "vue/padding-line-between-blocks": ["error", "always"],
2068
+ "vue/quote-props": ["error", "consistent-as-needed"],
2069
+ "vue/space-in-parens": ["error", "never"],
2070
+ "vue/template-curly-spacing": "error"
2071
+ } : {},
2072
+ "antfu/no-top-level-await": "off",
2073
+ "n/prefer-global/process": "off",
2074
+ "@typescript-eslint/explicit-function-return-type": "off",
2075
+ "@typescript-eslint/naming-convention": "off",
2076
+ "@stylistic/max-len": "off",
2077
+ ...overrides
2078
+ }
2079
+ },
2080
+ {
2081
+ files: [`**/composables/${GLOB_SRC}`],
2082
+ name: "eienjs/vue/composables-disables",
2083
+ rules: { "@typescript-eslint/explicit-module-boundary-types": "off" }
2044
2084
  }
2045
- }];
2085
+ ];
2046
2086
  }
2047
2087
 
2048
2088
  //#endregion
@@ -2062,7 +2102,6 @@ async function yaml(options = {}) {
2062
2102
  name: "eienjs/yaml/rules",
2063
2103
  rules: {
2064
2104
  "@stylistic/spaced-comment": "off",
2065
- "unicorn/filename-case": "off",
2066
2105
  "yaml/block-mapping": "error",
2067
2106
  "yaml/block-sequence": "error",
2068
2107
  "yaml/no-empty-key": "error",
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Awaitable, ConfigNames, OptionsAdonisJS, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsNuxt, OptionsOverrides, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem } from "./types-Cd5vIRtv.js";
1
+ import { Awaitable, ConfigNames, OptionsAdonisJS, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsNuxt, OptionsOverrides, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem } from "./types-Dox_r0zd.js";
2
2
  import { FlatConfigComposer } from "eslint-flat-config-utils";
3
3
  import { Linter } from "eslint";
4
4
 
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-CIPkS6TK.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
 
@@ -15374,7 +15374,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
15374
15374
  onlyEquality?: boolean;
15375
15375
  }];
15376
15376
  // Names of all the configs
15377
- type ConfigNames = 'eienjs/adonisjs/rules' | 'eienjs/adonisjs/disables' | 'eienjs/adonisjs/database-disables' | 'eienjs/adonisjs/bin-disables' | 'eienjs/adonisjs/commands-disables' | 'eienjs/adonisjs/middleware-disables' | 'eienjs/adonisjs/exceptions-disables' | 'eienjs/adonisjs/controllers-disables' | 'eienjs/adonisjs/config-disables' | 'eienjs/adonisjs/providers-disables' | 'eienjs/adonisjs/tests-disables' | 'eienjs/astro/setup' | 'eienjs/astro/rules' | 'eienjs/eslint-comments/rules' | 'eienjs/formatter/setup' | 'eienjs/imports/rules' | 'eienjs/javascript/setup' | 'eienjs/javascript/rules' | 'eienjs/jsdoc/rules' | 'eienjs/jsonc/setup' | 'eienjs/jsonc/rules' | 'eienjs/markdown/setup' | 'eienjs/markdown/processor' | 'eienjs/markdown/parser' | 'eienjs/markdown/disables' | 'eienjs/node/rules' | 'eienjs/nuxt/setup' | 'eienjs/nuxt/vue/single-root' | 'eienjs/nuxt/rules' | 'eienjs/nuxt/sort-config' | 'eienjs/nuxt/vue/rules' | 'eienjs/perfectionist/setup' | 'eienjs/sort/package-json' | 'eienjs/stylistic/rules' | 'eienjs/test/setup' | 'eienjs/test/rules' | 'eienjs/toml/setup' | 'eienjs/toml/rules' | 'eienjs/regexp/rules' | 'eienjs/typescript/setup' | 'eienjs/typescript/parser' | 'eienjs/typescript/rules' | 'eienjs/unicorn/rules' | 'eienjs/vue/setup' | 'eienjs/vue/rules' | 'eienjs/yaml/setup' | 'eienjs/yaml/rules' | 'eienjs/yaml/pnpm-workspace';
15377
+ type ConfigNames = 'eienjs/adonisjs/rules' | 'eienjs/adonisjs/disables' | 'eienjs/adonisjs/database-disables' | 'eienjs/adonisjs/bin-disables' | 'eienjs/adonisjs/commands-disables' | 'eienjs/adonisjs/middleware-disables' | 'eienjs/adonisjs/exceptions-disables' | 'eienjs/adonisjs/controllers-disables' | 'eienjs/adonisjs/config-disables' | 'eienjs/adonisjs/providers-disables' | 'eienjs/adonisjs/tests-disables' | 'eienjs/astro/setup' | 'eienjs/astro/rules' | 'eienjs/eslint-comments/rules' | 'eienjs/formatter/setup' | 'eienjs/imports/rules' | 'eienjs/javascript/setup' | 'eienjs/javascript/rules' | 'eienjs/jsdoc/rules' | 'eienjs/jsonc/setup' | 'eienjs/jsonc/rules' | 'eienjs/markdown/setup' | 'eienjs/markdown/processor' | 'eienjs/markdown/parser' | 'eienjs/markdown/disables' | 'eienjs/node/rules' | 'eienjs/nuxt/setup' | 'eienjs/nuxt/vue/single-root' | 'eienjs/nuxt/rules' | 'eienjs/nuxt/utils-disables' | 'eienjs/nuxt/sort-config' | 'eienjs/nuxt/vue/rules' | 'eienjs/perfectionist/setup' | 'eienjs/sort/package-json' | 'eienjs/stylistic/rules' | 'eienjs/test/setup' | 'eienjs/test/rules' | 'eienjs/toml/setup' | 'eienjs/toml/rules' | 'eienjs/regexp/rules' | 'eienjs/typescript/setup' | 'eienjs/typescript/parser' | 'eienjs/typescript/rules' | 'eienjs/unicorn/rules' | 'eienjs/unicorn/special-rules' | 'eienjs/vue/setup' | 'eienjs/vue/rules' | 'eienjs/vue/composables-disables' | 'eienjs/yaml/setup' | 'eienjs/yaml/rules' | 'eienjs/yaml/pnpm-workspace';
15378
15378
  //#endregion
15379
15379
  //#region src/vendored/prettier_types.d.ts
15380
15380
  /**
@@ -15577,6 +15577,10 @@ interface OptionsNuxt extends OptionsOverrides {
15577
15577
  * Directory for server
15578
15578
  */
15579
15579
  servers?: string[];
15580
+ /**
15581
+ * Directory for utils
15582
+ */
15583
+ utils?: string[];
15580
15584
  };
15581
15585
  }
15582
15586
  interface OptionsAdonisJS extends OptionsOverrides {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eienjs/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "1.0.0",
5
5
  "description": "EienJS ESLint Config",
6
6
  "author": "Fernando Isidro <luffynando@gmail.com> (https://github.com/luffynando/)",
7
7
  "license": "MIT",