@storm-software/eslint 0.137.4 → 0.138.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/README.md +1 -1
- package/dist/preset.js +3 -5
- package/dist/types.d.ts +56 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.js
CHANGED
|
@@ -871,10 +871,8 @@ async function javascript(options = {}) {
|
|
|
871
871
|
ecmaFeatures: {
|
|
872
872
|
jsx: true
|
|
873
873
|
},
|
|
874
|
-
ecmaVersion: 2022
|
|
875
|
-
|
|
876
|
-
},
|
|
877
|
-
sourceType: "module"
|
|
874
|
+
ecmaVersion: 2022
|
|
875
|
+
}
|
|
878
876
|
},
|
|
879
877
|
linterOptions: {
|
|
880
878
|
reportUnusedDisableDirectives: true
|
|
@@ -2575,7 +2573,7 @@ __name(node, "node");
|
|
|
2575
2573
|
// src/configs/nx.ts
|
|
2576
2574
|
import defu3 from "defu";
|
|
2577
2575
|
async function nx(options = {}) {
|
|
2578
|
-
const { depsCheck =
|
|
2576
|
+
const { depsCheck = {}, depsCheckSeverity = "error", moduleBoundaries, ignoredDependencies = [], ignoredFiles = [], checkObsoleteDependencies = true } = options;
|
|
2579
2577
|
return [
|
|
2580
2578
|
{
|
|
2581
2579
|
name: "storm/nx/setup",
|
package/dist/types.d.ts
CHANGED
|
@@ -16485,7 +16485,7 @@ interface OptionsComponentExts {
|
|
|
16485
16485
|
* Additional extensions for components.
|
|
16486
16486
|
*
|
|
16487
16487
|
* @example ['vue']
|
|
16488
|
-
* @
|
|
16488
|
+
* @defaultValue []
|
|
16489
16489
|
*/
|
|
16490
16490
|
componentExts?: string[];
|
|
16491
16491
|
}
|
|
@@ -16493,7 +16493,7 @@ interface OptionsUnicorn {
|
|
|
16493
16493
|
/**
|
|
16494
16494
|
* Include all rules recommended by `eslint-plugin-unicorn`, instead of only ones picked by Anthony.
|
|
16495
16495
|
*
|
|
16496
|
-
* @
|
|
16496
|
+
* @defaultValue false
|
|
16497
16497
|
*/
|
|
16498
16498
|
allRecommended?: boolean;
|
|
16499
16499
|
}
|
|
@@ -16504,12 +16504,12 @@ interface OptionsTypeScriptParserOptions {
|
|
|
16504
16504
|
parserOptions?: Partial<ParserOptions>;
|
|
16505
16505
|
/**
|
|
16506
16506
|
* Glob patterns for files that should be type aware.
|
|
16507
|
-
* @
|
|
16507
|
+
* @defaultValue ['**\/*.{ts,tsx}']
|
|
16508
16508
|
*/
|
|
16509
16509
|
filesTypeAware?: string[];
|
|
16510
16510
|
/**
|
|
16511
16511
|
* Glob patterns for files that should not be type aware.
|
|
16512
|
-
* @
|
|
16512
|
+
* @defaultValue ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
16513
16513
|
*/
|
|
16514
16514
|
ignoresTypeAware?: string[];
|
|
16515
16515
|
}
|
|
@@ -16540,7 +16540,7 @@ interface OptionsProjectType {
|
|
|
16540
16540
|
/**
|
|
16541
16541
|
* Type of the project. `lib` will enable more strict rules for libraries.
|
|
16542
16542
|
*
|
|
16543
|
-
* @
|
|
16543
|
+
* @defaultValue 'app'
|
|
16544
16544
|
*/
|
|
16545
16545
|
type?: "app" | "lib";
|
|
16546
16546
|
}
|
|
@@ -16556,12 +16556,12 @@ interface OptionsIsInEditor {
|
|
|
16556
16556
|
interface OptionsUnoCSS extends OptionsOverrides {
|
|
16557
16557
|
/**
|
|
16558
16558
|
* Enable attributify support.
|
|
16559
|
-
* @
|
|
16559
|
+
* @defaultValue true
|
|
16560
16560
|
*/
|
|
16561
16561
|
attributify?: boolean;
|
|
16562
16562
|
/**
|
|
16563
16563
|
* Enable strict mode by throwing errors about blocklisted classes.
|
|
16564
|
-
* @
|
|
16564
|
+
* @defaultValue false
|
|
16565
16565
|
*/
|
|
16566
16566
|
strict?: boolean;
|
|
16567
16567
|
}
|
|
@@ -16571,7 +16571,7 @@ interface OptionsNext extends OptionsOverrides {
|
|
|
16571
16571
|
*
|
|
16572
16572
|
* @see https://nextjs.org/docs/app/api-reference/config/eslint#with-core-web-vitals
|
|
16573
16573
|
*
|
|
16574
|
-
* @
|
|
16574
|
+
* @defaultValue true
|
|
16575
16575
|
*/
|
|
16576
16576
|
coreWebVitals?: boolean;
|
|
16577
16577
|
/**
|
|
@@ -16587,7 +16587,7 @@ interface OptionsGraphQL extends OptionsOverrides {
|
|
|
16587
16587
|
*
|
|
16588
16588
|
* @see https://the-guild.dev/graphql/eslint/rules
|
|
16589
16589
|
*
|
|
16590
|
-
* @
|
|
16590
|
+
* @defaultValue true
|
|
16591
16591
|
*/
|
|
16592
16592
|
schema?: boolean;
|
|
16593
16593
|
/**
|
|
@@ -16595,7 +16595,7 @@ interface OptionsGraphQL extends OptionsOverrides {
|
|
|
16595
16595
|
*
|
|
16596
16596
|
* @see https://the-guild.dev/graphql/eslint/rules
|
|
16597
16597
|
*
|
|
16598
|
-
* @
|
|
16598
|
+
* @defaultValue true
|
|
16599
16599
|
*/
|
|
16600
16600
|
operations?: boolean;
|
|
16601
16601
|
/**
|
|
@@ -16603,7 +16603,7 @@ interface OptionsGraphQL extends OptionsOverrides {
|
|
|
16603
16603
|
*
|
|
16604
16604
|
* @see https://github.com/relayjs/eslint-plugin-relay
|
|
16605
16605
|
*
|
|
16606
|
-
* @
|
|
16606
|
+
* @defaultValue true
|
|
16607
16607
|
*/
|
|
16608
16608
|
relay?: boolean;
|
|
16609
16609
|
}
|
|
@@ -16613,7 +16613,7 @@ interface OptionsStorybook extends OptionsOverrides {
|
|
|
16613
16613
|
*
|
|
16614
16614
|
* @see https://storybook.js.org/docs/api/csf
|
|
16615
16615
|
*
|
|
16616
|
-
* @
|
|
16616
|
+
* @defaultValue "loose"
|
|
16617
16617
|
*/
|
|
16618
16618
|
csf?: "none" | "loose" | "strict";
|
|
16619
16619
|
}
|
|
@@ -16621,49 +16621,49 @@ interface OptionsNxDependencyChecks extends OptionsOverrides {
|
|
|
16621
16621
|
/**
|
|
16622
16622
|
* List of build target names
|
|
16623
16623
|
*
|
|
16624
|
-
* @
|
|
16624
|
+
* @defaultValue ['build-base', 'build']
|
|
16625
16625
|
*/
|
|
16626
16626
|
buildTargets: string[];
|
|
16627
16627
|
/**
|
|
16628
16628
|
* Disable to skip checking for missing dependencies
|
|
16629
16629
|
*
|
|
16630
|
-
* @
|
|
16630
|
+
* @defaultValue true
|
|
16631
16631
|
*/
|
|
16632
16632
|
checkMissingDependencies: boolean;
|
|
16633
16633
|
/**
|
|
16634
16634
|
* Disable to skip checking for unused dependencies
|
|
16635
16635
|
*
|
|
16636
|
-
* @
|
|
16636
|
+
* @defaultValue true
|
|
16637
16637
|
*/
|
|
16638
16638
|
checkObsoleteDependencies: boolean;
|
|
16639
16639
|
/**
|
|
16640
16640
|
* Disable to skip checking if version specifier matches installed version
|
|
16641
16641
|
*
|
|
16642
|
-
* @
|
|
16642
|
+
* @defaultValue true
|
|
16643
16643
|
*/
|
|
16644
16644
|
checkVersionMismatches: boolean;
|
|
16645
16645
|
/**
|
|
16646
16646
|
* List of dependencies to ignore for checks
|
|
16647
16647
|
*
|
|
16648
|
-
* @
|
|
16648
|
+
* @defaultValue []
|
|
16649
16649
|
*/
|
|
16650
16650
|
ignoredDependencies: string[];
|
|
16651
16651
|
/**
|
|
16652
16652
|
* List of files to ignore when collecting dependencies. The default value will be set based on the selected executor during the generation.
|
|
16653
16653
|
*
|
|
16654
|
-
* @
|
|
16654
|
+
* @defaultValue []
|
|
16655
16655
|
*/
|
|
16656
16656
|
ignoredFiles: string[];
|
|
16657
16657
|
/**
|
|
16658
16658
|
* Enable to collect dependencies of children projects
|
|
16659
16659
|
*
|
|
16660
|
-
* @
|
|
16660
|
+
* @defaultValue false
|
|
16661
16661
|
*/
|
|
16662
16662
|
includeTransitiveDependencies: boolean;
|
|
16663
16663
|
/**
|
|
16664
16664
|
* Set workspace dependencies as relative file:// paths. Useful for monorepos that link via file:// in package.json files.
|
|
16665
16665
|
*
|
|
16666
|
-
* @
|
|
16666
|
+
* @defaultValue false
|
|
16667
16667
|
*/
|
|
16668
16668
|
useLocalPathsForWorkspaceDependencies: boolean;
|
|
16669
16669
|
}
|
|
@@ -16671,55 +16671,55 @@ interface OptionsNxEnforceModuleBoundaries extends OptionsOverrides {
|
|
|
16671
16671
|
/**
|
|
16672
16672
|
* List of imports that should be allowed without any checks
|
|
16673
16673
|
*
|
|
16674
|
-
* @
|
|
16674
|
+
* @defaultValue []
|
|
16675
16675
|
*/
|
|
16676
16676
|
allow: string[];
|
|
16677
16677
|
/**
|
|
16678
16678
|
* List of build target names
|
|
16679
16679
|
*
|
|
16680
|
-
* @
|
|
16680
|
+
* @defaultValue ['build-base', 'build']
|
|
16681
16681
|
*/
|
|
16682
16682
|
buildTargets: string[];
|
|
16683
16683
|
/**
|
|
16684
16684
|
* List of dependency constraints between projects
|
|
16685
16685
|
*
|
|
16686
|
-
* @
|
|
16686
|
+
* @defaultValue true
|
|
16687
16687
|
*/
|
|
16688
16688
|
depConstraints: DepConstraint[];
|
|
16689
16689
|
/**
|
|
16690
16690
|
* Enable to restrict the buildable libs from importing non-buildable libraries
|
|
16691
16691
|
*
|
|
16692
|
-
* @
|
|
16692
|
+
* @defaultValue true
|
|
16693
16693
|
*/
|
|
16694
16694
|
enforceBuildableLibDependency: boolean;
|
|
16695
16695
|
/**
|
|
16696
16696
|
* Disable check for self circular dependency when project imports from itself via alias path
|
|
16697
16697
|
*
|
|
16698
|
-
* @
|
|
16698
|
+
* @defaultValue false
|
|
16699
16699
|
*/
|
|
16700
16700
|
allowCircularSelfDependency: boolean;
|
|
16701
16701
|
/**
|
|
16702
16702
|
* List of project pairs that should be skipped from Circular dependencies checks, including the self-circular dependency check. E.g. ['feature-project-a', 'myapp']. Project name can be replaced by catch all * for more generic matches.
|
|
16703
16703
|
*
|
|
16704
|
-
* @
|
|
16704
|
+
* @defaultValue []
|
|
16705
16705
|
*/
|
|
16706
16706
|
ignoredCircularDependencies: Array<[string, string]>;
|
|
16707
16707
|
/**
|
|
16708
16708
|
* List of imports that should be skipped for Imports of lazy-loaded libraries forbidden checks. E.g. ['@myorg/lazy-project/component/*', '@myorg/other-project']
|
|
16709
16709
|
*
|
|
16710
|
-
* @
|
|
16710
|
+
* @defaultValue []
|
|
16711
16711
|
*/
|
|
16712
16712
|
checkDynamicDependenciesExceptions: string[];
|
|
16713
16713
|
/**
|
|
16714
16714
|
* Ban import of dependencies that were not specified in the root or project's package.json
|
|
16715
16715
|
*
|
|
16716
|
-
* @
|
|
16716
|
+
* @defaultValue false
|
|
16717
16717
|
*/
|
|
16718
16718
|
banTransitiveDependencies: boolean;
|
|
16719
16719
|
/**
|
|
16720
16720
|
* Enable to enforce the check for banned external imports in the nested packages. Check [Dependency constraints](https://nx.dev/nx-api/eslint-plugin/documents/enforce-module-boundaries#dependency-constraints) for more information
|
|
16721
16721
|
*
|
|
16722
|
-
* @
|
|
16722
|
+
* @defaultValue false
|
|
16723
16723
|
*/
|
|
16724
16724
|
checkNestedExternalImports: boolean;
|
|
16725
16725
|
}
|
|
@@ -16741,14 +16741,12 @@ interface OptionsNx extends OptionsOverrides {
|
|
|
16741
16741
|
*
|
|
16742
16742
|
* @remarks
|
|
16743
16743
|
* If any values are overridden here, the `ignoredDependencies`, `ignoredFiles`, and `checkObsoleteDependencies` options will be ignored.
|
|
16744
|
-
*
|
|
16745
|
-
* @defaultValue `false`
|
|
16746
16744
|
*/
|
|
16747
16745
|
depsCheck?: OptionsNxDependencyChecks | false;
|
|
16748
16746
|
/**
|
|
16749
16747
|
* The severity of the `@nx/dependency-checks` rule
|
|
16750
16748
|
*
|
|
16751
|
-
* @defaultValue "
|
|
16749
|
+
* @defaultValue "warn"
|
|
16752
16750
|
*/
|
|
16753
16751
|
depsCheckSeverity?: "off" | "warn" | "error";
|
|
16754
16752
|
/**
|
|
@@ -16760,7 +16758,7 @@ interface OptionsCSpell extends OptionsOverrides {
|
|
|
16760
16758
|
/**
|
|
16761
16759
|
* A path to a CSpell configuration file
|
|
16762
16760
|
*
|
|
16763
|
-
* @
|
|
16761
|
+
* @defaultValue "./.vscode/cspell.json"
|
|
16764
16762
|
*/
|
|
16765
16763
|
configFile?: string;
|
|
16766
16764
|
}
|
|
@@ -16780,7 +16778,7 @@ interface OptionsJavascript {
|
|
|
16780
16778
|
/**
|
|
16781
16779
|
* The style of line endings to use.
|
|
16782
16780
|
*
|
|
16783
|
-
* @
|
|
16781
|
+
* @defaultValue "unix"
|
|
16784
16782
|
*/
|
|
16785
16783
|
lineEndings?: "unix" | "windows";
|
|
16786
16784
|
}
|
|
@@ -16791,13 +16789,13 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16791
16789
|
* Passing an object to configure the options.
|
|
16792
16790
|
*
|
|
16793
16791
|
* @see https://github.com/antfu/eslint-config-flat-gitignore
|
|
16794
|
-
* @
|
|
16792
|
+
* @defaultValue true
|
|
16795
16793
|
*/
|
|
16796
16794
|
gitignore?: boolean | FlatGitignoreOptions;
|
|
16797
16795
|
/**
|
|
16798
16796
|
* Disable some opinionated rules to Anthony's preference.
|
|
16799
16797
|
*
|
|
16800
|
-
* @
|
|
16798
|
+
* @defaultValue false
|
|
16801
16799
|
*/
|
|
16802
16800
|
lessOpinionated?: boolean;
|
|
16803
16801
|
/**
|
|
@@ -16810,7 +16808,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16810
16808
|
* Requires installing:
|
|
16811
16809
|
* - `@cspell/eslint-plugin`
|
|
16812
16810
|
*
|
|
16813
|
-
* @
|
|
16811
|
+
* @defaultValue true
|
|
16814
16812
|
*/
|
|
16815
16813
|
cspell?: boolean | OptionsCSpell;
|
|
16816
16814
|
/**
|
|
@@ -16818,7 +16816,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16818
16816
|
*
|
|
16819
16817
|
* Passing an object to enable TypeScript Language Server support.
|
|
16820
16818
|
*
|
|
16821
|
-
* @
|
|
16819
|
+
* @defaultValue auto-detect based on the dependencies
|
|
16822
16820
|
*/
|
|
16823
16821
|
typescript?: boolean | OptionsTypescript;
|
|
16824
16822
|
/**
|
|
@@ -16830,37 +16828,37 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16830
16828
|
*
|
|
16831
16829
|
* Currently only stylistic rules are included.
|
|
16832
16830
|
*
|
|
16833
|
-
* @
|
|
16831
|
+
* @defaultValue true
|
|
16834
16832
|
*/
|
|
16835
16833
|
jsx?: boolean;
|
|
16836
16834
|
/**
|
|
16837
16835
|
* Options for eslint-plugin-unicorn.
|
|
16838
16836
|
*
|
|
16839
|
-
* @
|
|
16837
|
+
* @defaultValue true
|
|
16840
16838
|
*/
|
|
16841
16839
|
unicorn?: boolean | OptionsUnicorn;
|
|
16842
16840
|
/**
|
|
16843
16841
|
* Enable test support.
|
|
16844
16842
|
*
|
|
16845
|
-
* @
|
|
16843
|
+
* @defaultValue true
|
|
16846
16844
|
*/
|
|
16847
16845
|
test?: boolean | OptionsOverrides;
|
|
16848
16846
|
/**
|
|
16849
16847
|
* Enable JSONC support.
|
|
16850
16848
|
*
|
|
16851
|
-
* @
|
|
16849
|
+
* @defaultValue true
|
|
16852
16850
|
*/
|
|
16853
16851
|
jsonc?: boolean | OptionsOverrides;
|
|
16854
16852
|
/**
|
|
16855
16853
|
* Enable YAML support.
|
|
16856
16854
|
*
|
|
16857
|
-
* @
|
|
16855
|
+
* @defaultValue true
|
|
16858
16856
|
*/
|
|
16859
16857
|
yaml?: boolean | OptionsOverrides;
|
|
16860
16858
|
/**
|
|
16861
16859
|
* Enable TOML support.
|
|
16862
16860
|
*
|
|
16863
|
-
* @
|
|
16861
|
+
* @defaultValue true
|
|
16864
16862
|
*/
|
|
16865
16863
|
toml?: boolean | OptionsOverrides;
|
|
16866
16864
|
/**
|
|
@@ -16872,7 +16870,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16872
16870
|
* Requires installing for formatting .astro:
|
|
16873
16871
|
* - `prettier-plugin-astro`
|
|
16874
16872
|
*
|
|
16875
|
-
* @
|
|
16873
|
+
* @defaultValue false
|
|
16876
16874
|
*/
|
|
16877
16875
|
astro?: boolean | OptionsOverrides;
|
|
16878
16876
|
/**
|
|
@@ -16880,13 +16878,13 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16880
16878
|
*
|
|
16881
16879
|
* For formatting Markdown content, enable also `formatters.markdown`.
|
|
16882
16880
|
*
|
|
16883
|
-
* @
|
|
16881
|
+
* @defaultValue true
|
|
16884
16882
|
*/
|
|
16885
16883
|
markdown?: boolean | OptionsOverrides;
|
|
16886
16884
|
/**
|
|
16887
16885
|
* Enable linting for mdx files.
|
|
16888
16886
|
*
|
|
16889
|
-
* @
|
|
16887
|
+
* @defaultValue true
|
|
16890
16888
|
*/
|
|
16891
16889
|
mdx?: boolean | OptionsOverrides;
|
|
16892
16890
|
/**
|
|
@@ -16894,26 +16892,26 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16894
16892
|
*
|
|
16895
16893
|
* @see https://eslint.style/
|
|
16896
16894
|
*
|
|
16897
|
-
* @
|
|
16895
|
+
* @defaultValue false
|
|
16898
16896
|
*/
|
|
16899
16897
|
stylistic?: boolean | (StylisticConfig & OptionsOverrides);
|
|
16900
16898
|
/**
|
|
16901
16899
|
* Enable regexp rules.
|
|
16902
16900
|
*
|
|
16903
16901
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
16904
|
-
* @
|
|
16902
|
+
* @defaultValue true
|
|
16905
16903
|
*/
|
|
16906
16904
|
regexp?: boolean | (OptionsRegExp & OptionsOverrides);
|
|
16907
16905
|
/**
|
|
16908
16906
|
* Enable GraphQL support.
|
|
16909
16907
|
*
|
|
16910
|
-
* @
|
|
16908
|
+
* @defaultValue false
|
|
16911
16909
|
*/
|
|
16912
16910
|
graphql?: boolean | OptionsGraphQL;
|
|
16913
16911
|
/**
|
|
16914
16912
|
* Enable Storybook support.
|
|
16915
16913
|
*
|
|
16916
|
-
* @
|
|
16914
|
+
* @defaultValue false
|
|
16917
16915
|
*/
|
|
16918
16916
|
storybook?: boolean | OptionsStorybook;
|
|
16919
16917
|
/**
|
|
@@ -16924,7 +16922,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16924
16922
|
* - `eslint-plugin-react-hooks`
|
|
16925
16923
|
* - `eslint-plugin-react-refresh`
|
|
16926
16924
|
*
|
|
16927
|
-
* @
|
|
16925
|
+
* @defaultValue false
|
|
16928
16926
|
*/
|
|
16929
16927
|
react?: boolean | OptionsOverrides;
|
|
16930
16928
|
/**
|
|
@@ -16933,7 +16931,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16933
16931
|
* Requires installing:
|
|
16934
16932
|
* - `eslint-plugin-react-native`
|
|
16935
16933
|
*
|
|
16936
|
-
* @
|
|
16934
|
+
* @defaultValue false
|
|
16937
16935
|
*/
|
|
16938
16936
|
"react-native"?: boolean | OptionsOverrides;
|
|
16939
16937
|
/**
|
|
@@ -16942,7 +16940,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16942
16940
|
* Requires installing:
|
|
16943
16941
|
* - `@next/eslint-plugin-next`
|
|
16944
16942
|
*
|
|
16945
|
-
* @
|
|
16943
|
+
* @defaultValue false
|
|
16946
16944
|
*/
|
|
16947
16945
|
next?: boolean | OptionsNext;
|
|
16948
16946
|
/**
|
|
@@ -16951,7 +16949,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16951
16949
|
* Requires installing:
|
|
16952
16950
|
* - `@unocss/eslint-plugin`
|
|
16953
16951
|
*
|
|
16954
|
-
* @
|
|
16952
|
+
* @defaultValue false
|
|
16955
16953
|
*/
|
|
16956
16954
|
unocss?: boolean | OptionsUnoCSS;
|
|
16957
16955
|
/**
|
|
@@ -16962,18 +16960,18 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16962
16960
|
*
|
|
16963
16961
|
* When set to `true`, it will enable all formatters.
|
|
16964
16962
|
*
|
|
16965
|
-
* @
|
|
16963
|
+
* @defaultValue false
|
|
16966
16964
|
*/
|
|
16967
16965
|
formatters?: boolean | OptionsFormatters;
|
|
16968
16966
|
/**
|
|
16969
16967
|
* Control to disable some rules in editors.
|
|
16970
|
-
* @
|
|
16968
|
+
* @defaultValue auto-detect based on the process.env
|
|
16971
16969
|
*/
|
|
16972
16970
|
isInEditor?: boolean;
|
|
16973
16971
|
/**
|
|
16974
16972
|
* Automatically rename plugins in the config.
|
|
16975
16973
|
*
|
|
16976
|
-
* @
|
|
16974
|
+
* @defaultValue true
|
|
16977
16975
|
*/
|
|
16978
16976
|
autoRenamePlugins?: boolean;
|
|
16979
16977
|
}
|
package/package.json
CHANGED