@eienjs/eslint-config 0.4.0 → 0.4.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.0";
12
+ var version = "0.4.1";
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-DWV1I5t-.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 };
@@ -1074,7 +1074,6 @@ async function markdown(options = {}) {
1074
1074
  "@typescript-eslint/no-use-before-define": "off",
1075
1075
  "unused-imports/no-unused-imports": "off",
1076
1076
  "unused-imports/no-unused-vars": "off",
1077
- "unicorn/filename-case": "off",
1078
1077
  ...overrides
1079
1078
  }
1080
1079
  }
@@ -1117,6 +1116,7 @@ async function nuxt(options = {}) {
1117
1116
  dirs.modules = dirs.modules ?? dirs.src.map((src) => `${src}/modules`);
1118
1117
  dirs.middleware = dirs.middleware ?? dirs.src.map((src) => `${src}/middleware`);
1119
1118
  dirs.servers = dirs.servers ?? dirs.src.map((src) => `${src}/servers`);
1119
+ dirs.utils = dirs.utils ?? dirs.src.map((src) => `${src}/utils`);
1120
1120
  dirs.componentsPrefixed = dirs.componentsPrefixed ?? [];
1121
1121
  const fileSingleRoot = [
1122
1122
  ...dirs.layouts?.map((layoutsDir) => join(layoutsDir, `**/*.${GLOB_EXTS}`)) || [],
@@ -1181,6 +1181,11 @@ async function nuxt(options = {}) {
1181
1181
  ...overrides
1182
1182
  }
1183
1183
  },
1184
+ {
1185
+ files: dirs.utils.map((utilsDir) => join(utilsDir, GLOB_SRC)),
1186
+ name: "eienjs/nuxt/utils-disables",
1187
+ rules: { "@typescript-eslint/explicit-module-boundary-types": "off" }
1188
+ },
1184
1189
  ...sortConfigKeys ? [{
1185
1190
  files: ["**/nuxt.config.?([cm])[jt]s?(x)"],
1186
1191
  name: "eienjs/nuxt/sort-config",
@@ -1833,7 +1838,6 @@ async function unicorn(options = {}) {
1833
1838
  "unicorn/no-this-assignment": "off",
1834
1839
  "unicorn/consistent-destructuring": "error",
1835
1840
  "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
1836
- "unicorn/filename-case": ["error", { case: "snakeCase" }],
1837
1841
  "unicorn/no-null": "off",
1838
1842
  "unicorn/no-static-only-class": "off",
1839
1843
  "unicorn/numeric-separators-style": "off",
@@ -1850,8 +1854,13 @@ async function unicorn(options = {}) {
1850
1854
  "unicorn/no-array-reduce": "off",
1851
1855
  "unicorn/prefer-export-from": "off",
1852
1856
  "unicorn/prefer-top-level-await": "off",
1857
+ "unicorn/filename-case": "off",
1853
1858
  ...overrides
1854
1859
  }
1860
+ }, {
1861
+ files: [GLOB_SRC],
1862
+ name: "eienjs/unicorn/special-rules",
1863
+ rules: { "unicorn/filename-case": ["error", { case: "snakeCase" }] }
1855
1864
  }];
1856
1865
  }
1857
1866
 
@@ -1866,183 +1875,190 @@ async function vue(options = {}) {
1866
1875
  interopDefault(import("vue-eslint-parser")),
1867
1876
  interopDefault(import("eslint-processor-vue-blocks"))
1868
1877
  ]);
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
- }
1878
+ return [
1879
+ {
1880
+ languageOptions: { globals: {
1881
+ computed: "readonly",
1882
+ defineEmits: "readonly",
1883
+ defineExpose: "readonly",
1884
+ defineProps: "readonly",
1885
+ onMounted: "readonly",
1886
+ onUnmounted: "readonly",
1887
+ reactive: "readonly",
1888
+ ref: "readonly",
1889
+ shallowReactive: "readonly",
1890
+ shallowRef: "readonly",
1891
+ toRef: "readonly",
1892
+ toRefs: "readonly",
1893
+ watch: "readonly",
1894
+ watchEffect: "readonly"
1895
+ } },
1896
+ name: "eienjs/vue/setup",
1897
+ plugins: { vue: pluginVue }
1898
1898
  },
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
1899
+ {
1900
+ files,
1901
+ languageOptions: {
1902
+ parser: parserVue,
1903
+ parserOptions: {
1904
+ ecmaFeatures: { jsx: true },
1905
+ extraFileExtensions: [".vue"],
1906
+ parser: typescript$1 ? await interopDefault(import("@typescript-eslint/parser")) : null,
1907
+ sourceType: "module"
1980
1908
  }
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": [
1909
+ },
1910
+ name: "eienjs/vue/rules",
1911
+ processor: sfcBlocks === false ? pluginVue.processors[".vue"] : mergeProcessors([pluginVue.processors[".vue"], processorVueBlocks({
1912
+ ...sfcBlocks,
1913
+ blocks: {
1914
+ styles: true,
1915
+ ...sfcBlocks.blocks
1916
+ }
1917
+ })]),
1918
+ rules: {
1919
+ ...pluginVue.configs.base.rules,
1920
+ ...pluginVue.configs["flat/essential"].map((c) => c.rules).reduce((acc, c) => ({
1921
+ ...acc,
1922
+ ...c
1923
+ }), {}),
1924
+ ...pluginVue.configs["flat/strongly-recommended"].map((c) => c.rules).reduce((acc, c) => ({
1925
+ ...acc,
1926
+ ...c
1927
+ }), {}),
1928
+ ...pluginVue.configs["flat/recommended"].map((c) => c.rules).reduce((acc, c) => ({
1929
+ ...acc,
1930
+ ...c
1931
+ }), {}),
1932
+ "vue/block-lang": ["error", { script: { lang: "ts" } }],
1933
+ "vue/block-order": ["error", { order: [
1934
+ "script",
1935
+ "template",
1936
+ "style"
1937
+ ] }],
1938
+ "vue/component-api-style": ["error", ["script-setup"]],
1939
+ "vue/component-name-in-template-casing": [
2005
1940
  "error",
2006
- "1tbs",
2007
- { allowSingleLine: true }
1941
+ "PascalCase",
1942
+ { registeredComponentsOnly: true }
2008
1943
  ],
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": [
1944
+ "vue/component-options-name-casing": ["error", "PascalCase"],
1945
+ "vue/custom-event-name-casing": ["error", "camelCase"],
1946
+ "vue/define-macros-order": ["error", { order: [
1947
+ "defineOptions",
1948
+ "defineProps",
1949
+ "defineEmits",
1950
+ "defineSlots"
1951
+ ] }],
1952
+ "vue/define-props-declaration": ["error", "runtime"],
1953
+ "vue/dot-location": ["error", "property"],
1954
+ "vue/dot-notation": ["error", { allowKeywords: true }],
1955
+ "vue/eqeqeq": ["error", "smart"],
1956
+ "vue/html-indent": ["error", indent],
1957
+ "vue/html-quotes": ["error", "double"],
1958
+ "vue/max-attributes-per-line": "off",
1959
+ "vue/multi-word-component-names": "off",
1960
+ "vue/no-dupe-keys": "off",
1961
+ "vue/no-empty-component-block": "error",
1962
+ "vue/no-empty-pattern": "error",
1963
+ "vue/no-irregular-whitespace": "error",
1964
+ "vue/no-loss-of-precision": "error",
1965
+ "vue/no-multiple-objects-in-class": "error",
1966
+ "vue/no-ref-object-reactivity-loss": "error",
1967
+ "vue/no-required-prop-with-default": "error",
1968
+ "vue/no-restricted-syntax": [
1969
+ "error",
1970
+ "DebuggerStatement",
1971
+ "LabeledStatement",
1972
+ "WithStatement"
1973
+ ],
1974
+ "vue/no-restricted-v-bind": ["error", "/^v-/"],
1975
+ "vue/no-root-v-if": "error",
1976
+ "vue/no-setup-props-reactivity-loss": "off",
1977
+ "vue/no-sparse-arrays": "error",
1978
+ "vue/no-template-target-blank": "error",
1979
+ "vue/no-unused-properties": "error",
1980
+ "vue/no-unused-refs": "error",
1981
+ "vue/no-use-v-else-with-v-for": "error",
1982
+ "vue/no-useless-mustaches": "error",
1983
+ "vue/no-useless-v-bind": "error",
1984
+ "vue/no-v-html": "off",
1985
+ "vue/object-shorthand": [
2016
1986
  "error",
2017
1987
  "always",
2018
- { exceptions: ["-"] }
1988
+ {
1989
+ avoidQuotes: true,
1990
+ ignoreConstructors: false
1991
+ }
2019
1992
  ],
2020
- "vue/key-spacing": ["error", {
2021
- afterColon: true,
2022
- beforeColon: false
1993
+ "vue/prefer-separate-static-class": "error",
1994
+ "vue/prefer-template": "error",
1995
+ "vue/prefer-true-attribute-shorthand": "error",
1996
+ "vue/prop-name-casing": ["error", "camelCase"],
1997
+ "vue/require-typed-ref": "error",
1998
+ "vue/space-infix-ops": "error",
1999
+ "vue/space-unary-ops": ["error", {
2000
+ nonwords: false,
2001
+ words: true
2023
2002
  }],
2024
- "vue/keyword-spacing": ["error", {
2025
- after: true,
2026
- before: true
2027
- }],
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
2003
+ "vue/static-class-names-order": "off",
2004
+ ...stylistic$1 ? {
2005
+ "vue/array-bracket-spacing": ["error", "never"],
2006
+ "vue/arrow-spacing": ["error", {
2007
+ after: true,
2008
+ before: true
2009
+ }],
2010
+ "vue/block-spacing": ["error", "always"],
2011
+ "vue/block-tag-newline": ["error", {
2012
+ multiline: "always",
2013
+ singleline: "always"
2014
+ }],
2015
+ "vue/brace-style": [
2016
+ "error",
2017
+ "1tbs",
2018
+ { allowSingleLine: true }
2019
+ ],
2020
+ "vue/comma-dangle": ["error", "always-multiline"],
2021
+ "vue/comma-spacing": ["error", {
2022
+ after: true,
2023
+ before: false
2024
+ }],
2025
+ "vue/comma-style": ["error", "last"],
2026
+ "vue/html-comment-content-spacing": [
2027
+ "error",
2028
+ "always",
2029
+ { exceptions: ["-"] }
2030
+ ],
2031
+ "vue/key-spacing": ["error", {
2032
+ afterColon: true,
2033
+ beforeColon: false
2034
+ }],
2035
+ "vue/keyword-spacing": ["error", {
2036
+ after: true,
2037
+ before: true
2038
+ }],
2039
+ "vue/object-curly-newline": "off",
2040
+ "vue/object-curly-spacing": ["error", "always"],
2041
+ "vue/object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }],
2042
+ "vue/operator-linebreak": ["error", "before"],
2043
+ "vue/padding-line-between-blocks": ["error", "always"],
2044
+ "vue/quote-props": ["error", "consistent-as-needed"],
2045
+ "vue/space-in-parens": ["error", "never"],
2046
+ "vue/template-curly-spacing": "error"
2047
+ } : {},
2048
+ "antfu/no-top-level-await": "off",
2049
+ "n/prefer-global/process": "off",
2050
+ "@typescript-eslint/explicit-function-return-type": "off",
2051
+ "@typescript-eslint/naming-convention": "off",
2052
+ "@stylistic/max-len": "off",
2053
+ ...overrides
2054
+ }
2055
+ },
2056
+ {
2057
+ files: [`**/composables/${GLOB_SRC}`],
2058
+ name: "eienjs/vue/composables-disables",
2059
+ rules: { "@typescript-eslint/explicit-module-boundary-types": "off" }
2044
2060
  }
2045
- }];
2061
+ ];
2046
2062
  }
2047
2063
 
2048
2064
  //#endregion
@@ -2062,7 +2078,6 @@ async function yaml(options = {}) {
2062
2078
  name: "eienjs/yaml/rules",
2063
2079
  rules: {
2064
2080
  "@stylistic/spaced-comment": "off",
2065
- "unicorn/filename-case": "off",
2066
2081
  "yaml/block-mapping": "error",
2067
2082
  "yaml/block-sequence": "error",
2068
2083
  "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-DWV1I5t-.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": "0.4.1",
5
5
  "description": "EienJS ESLint Config",
6
6
  "author": "Fernando Isidro <luffynando@gmail.com> (https://github.com/luffynando/)",
7
7
  "license": "MIT",