@ntnyq/eslint-config 5.3.1 → 5.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/index.d.ts +56 -30
- package/dist/index.js +5 -0
- package/package.json +19 -20
package/dist/index.d.ts
CHANGED
|
@@ -923,7 +923,7 @@ interface RuleOptions {
|
|
|
923
923
|
*/
|
|
924
924
|
'@html-eslint/element-newline'?: Linter.RuleEntry<HtmlEslintElementNewline>;
|
|
925
925
|
/**
|
|
926
|
-
* Enforce consistent naming id attributes
|
|
926
|
+
* Enforce consistent naming of id attributes
|
|
927
927
|
* @see https://html-eslint.org/docs/rules/id-naming-convention
|
|
928
928
|
*/
|
|
929
929
|
'@html-eslint/id-naming-convention'?: Linter.RuleEntry<HtmlEslintIdNamingConvention>;
|
|
@@ -932,27 +932,27 @@ interface RuleOptions {
|
|
|
932
932
|
*/
|
|
933
933
|
'@html-eslint/indent'?: Linter.RuleEntry<HtmlEslintIndent>;
|
|
934
934
|
/**
|
|
935
|
-
* Enforce
|
|
935
|
+
* Enforce use of lowercase for tag and attribute names.
|
|
936
936
|
* @see https://html-eslint.org/docs/rules/lowercase
|
|
937
937
|
*/
|
|
938
938
|
'@html-eslint/lowercase'?: Linter.RuleEntry<[]>;
|
|
939
939
|
/**
|
|
940
|
-
* Enforce element
|
|
940
|
+
* Enforce maximum element depth
|
|
941
941
|
* @see https://html-eslint.org/docs/rules/max-element-depth
|
|
942
942
|
*/
|
|
943
943
|
'@html-eslint/max-element-depth'?: Linter.RuleEntry<HtmlEslintMaxElementDepth>;
|
|
944
944
|
/**
|
|
945
|
-
* Disallow
|
|
945
|
+
* Disallow use of abstract roles
|
|
946
946
|
* @see https://html-eslint.org/docs/rules/no-abstract-roles
|
|
947
947
|
*/
|
|
948
948
|
'@html-eslint/no-abstract-roles'?: Linter.RuleEntry<[]>;
|
|
949
949
|
/**
|
|
950
|
-
* Disallow
|
|
950
|
+
* Disallow use of accesskey attribute
|
|
951
951
|
* @see https://html-eslint.org/docs/rules/no-accesskey-attrs
|
|
952
952
|
*/
|
|
953
953
|
'@html-eslint/no-accesskey-attrs'?: Linter.RuleEntry<[]>;
|
|
954
954
|
/**
|
|
955
|
-
* Disallow
|
|
955
|
+
* Disallow use of aria-hidden attributes on the `body` element.
|
|
956
956
|
* @see https://html-eslint.org/docs/rules/no-aria-hidden-body
|
|
957
957
|
*/
|
|
958
958
|
'@html-eslint/no-aria-hidden-body'?: Linter.RuleEntry<[]>;
|
|
@@ -962,17 +962,17 @@ interface RuleOptions {
|
|
|
962
962
|
*/
|
|
963
963
|
'@html-eslint/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
|
|
964
964
|
/**
|
|
965
|
-
* Disallow
|
|
965
|
+
* Disallow duplicate attributes
|
|
966
966
|
* @see https://html-eslint.org/docs/rules/no-duplicate-attrs
|
|
967
967
|
*/
|
|
968
968
|
'@html-eslint/no-duplicate-attrs'?: Linter.RuleEntry<[]>;
|
|
969
969
|
/**
|
|
970
|
-
* Disallow
|
|
970
|
+
* Disallow duplicate class names
|
|
971
971
|
* @see https://html-eslint.org/docs/rules/no-duplicate-class
|
|
972
972
|
*/
|
|
973
973
|
'@html-eslint/no-duplicate-class'?: Linter.RuleEntry<[]>;
|
|
974
974
|
/**
|
|
975
|
-
* Disallow
|
|
975
|
+
* Disallow duplicate id attributes
|
|
976
976
|
* @see https://html-eslint.org/docs/rules/no-duplicate-id
|
|
977
977
|
*/
|
|
978
978
|
'@html-eslint/no-duplicate-id'?: Linter.RuleEntry<[]>;
|
|
@@ -987,7 +987,7 @@ interface RuleOptions {
|
|
|
987
987
|
*/
|
|
988
988
|
'@html-eslint/no-empty-headings'?: Linter.RuleEntry<[]>;
|
|
989
989
|
/**
|
|
990
|
-
* Disallow
|
|
990
|
+
* Disallow extra spacing around attributes
|
|
991
991
|
* @see https://html-eslint.org/docs/rules/no-extra-spacing-attrs
|
|
992
992
|
*/
|
|
993
993
|
'@html-eslint/no-extra-spacing-attrs'?: Linter.RuleEntry<HtmlEslintNoExtraSpacingAttrs>;
|
|
@@ -1001,6 +1001,10 @@ interface RuleOptions {
|
|
|
1001
1001
|
* @see https://html-eslint.org/docs/rules/no-heading-inside-button
|
|
1002
1002
|
*/
|
|
1003
1003
|
'@html-eslint/no-heading-inside-button'?: Linter.RuleEntry<[]>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Disallow HTML attributes that have no effect in their context
|
|
1006
|
+
*/
|
|
1007
|
+
'@html-eslint/no-ineffective-attrs'?: Linter.RuleEntry<[]>;
|
|
1004
1008
|
/**
|
|
1005
1009
|
* Disallow using inline style
|
|
1006
1010
|
* @see https://html-eslint.org/docs/rules/no-inline-styles
|
|
@@ -1037,7 +1041,7 @@ interface RuleOptions {
|
|
|
1037
1041
|
*/
|
|
1038
1042
|
'@html-eslint/no-non-scalable-viewport'?: Linter.RuleEntry<[]>;
|
|
1039
1043
|
/**
|
|
1040
|
-
* Disallow
|
|
1044
|
+
* Disallow use of obsolete elements in HTML5
|
|
1041
1045
|
* @see https://html-eslint.org/docs/rules/no-obsolete-tags
|
|
1042
1046
|
*/
|
|
1043
1047
|
'@html-eslint/no-obsolete-tags'?: Linter.RuleEntry<[]>;
|
|
@@ -1092,7 +1096,7 @@ interface RuleOptions {
|
|
|
1092
1096
|
*/
|
|
1093
1097
|
'@html-eslint/require-attrs'?: Linter.RuleEntry<HtmlEslintRequireAttrs>;
|
|
1094
1098
|
/**
|
|
1095
|
-
* Require use of button element with a valid type attribute.
|
|
1099
|
+
* Require use of the button element with a valid type attribute.
|
|
1096
1100
|
* @see https://html-eslint.org/docs/rules/require-button-type
|
|
1097
1101
|
*/
|
|
1098
1102
|
'@html-eslint/require-button-type'?: Linter.RuleEntry<[]>;
|
|
@@ -1102,7 +1106,7 @@ interface RuleOptions {
|
|
|
1102
1106
|
*/
|
|
1103
1107
|
'@html-eslint/require-closing-tags'?: Linter.RuleEntry<HtmlEslintRequireClosingTags>;
|
|
1104
1108
|
/**
|
|
1105
|
-
* Require `<!DOCTYPE HTML>` in
|
|
1109
|
+
* Require `<!DOCTYPE HTML>` in HTML
|
|
1106
1110
|
* @see https://html-eslint.org/docs/rules/require-doctype
|
|
1107
1111
|
*/
|
|
1108
1112
|
'@html-eslint/require-doctype'?: Linter.RuleEntry<[]>;
|
|
@@ -1122,7 +1126,7 @@ interface RuleOptions {
|
|
|
1122
1126
|
*/
|
|
1123
1127
|
'@html-eslint/require-frame-title'?: Linter.RuleEntry<[]>;
|
|
1124
1128
|
/**
|
|
1125
|
-
* Require `alt` attribute
|
|
1129
|
+
* Require `alt` attribute on `<img>` tag
|
|
1126
1130
|
* @see https://html-eslint.org/docs/rules/require-img-alt
|
|
1127
1131
|
*/
|
|
1128
1132
|
'@html-eslint/require-img-alt'?: Linter.RuleEntry<HtmlEslintRequireImgAlt>;
|
|
@@ -1132,17 +1136,17 @@ interface RuleOptions {
|
|
|
1132
1136
|
*/
|
|
1133
1137
|
'@html-eslint/require-input-label'?: Linter.RuleEntry<[]>;
|
|
1134
1138
|
/**
|
|
1135
|
-
* Require `lang` attribute
|
|
1139
|
+
* Require `lang` attribute on `<html>` tag
|
|
1136
1140
|
* @see https://html-eslint.org/docs/rules/require-lang
|
|
1137
1141
|
*/
|
|
1138
1142
|
'@html-eslint/require-lang'?: Linter.RuleEntry<[]>;
|
|
1139
1143
|
/**
|
|
1140
|
-
* Enforce `<li>` to be in
|
|
1144
|
+
* Enforce `<li>` to be in `<ul>`, `<ol>` or `<menu>`.
|
|
1141
1145
|
* @see https://html-eslint.org/docs/rules/require-li-container
|
|
1142
1146
|
*/
|
|
1143
1147
|
'@html-eslint/require-li-container'?: Linter.RuleEntry<[]>;
|
|
1144
1148
|
/**
|
|
1145
|
-
* Enforce
|
|
1149
|
+
* Enforce use of `<meta charset="...">` in `<head>`
|
|
1146
1150
|
* @see https://html-eslint.org/docs/rules/require-meta-charset
|
|
1147
1151
|
*/
|
|
1148
1152
|
'@html-eslint/require-meta-charset'?: Linter.RuleEntry<[]>;
|
|
@@ -1152,17 +1156,17 @@ interface RuleOptions {
|
|
|
1152
1156
|
*/
|
|
1153
1157
|
'@html-eslint/require-meta-description'?: Linter.RuleEntry<[]>;
|
|
1154
1158
|
/**
|
|
1155
|
-
* Enforce
|
|
1159
|
+
* Enforce use of `<meta name="viewport">` in `<head>`
|
|
1156
1160
|
* @see https://html-eslint.org/docs/rules/require-meta-viewport
|
|
1157
1161
|
*/
|
|
1158
1162
|
'@html-eslint/require-meta-viewport'?: Linter.RuleEntry<[]>;
|
|
1159
1163
|
/**
|
|
1160
|
-
* Enforce
|
|
1164
|
+
* Enforce use of specified meta tags for open graph protocol.
|
|
1161
1165
|
* @see https://html-eslint.org/docs/rules/require-open-graph-protocol
|
|
1162
1166
|
*/
|
|
1163
1167
|
'@html-eslint/require-open-graph-protocol'?: Linter.RuleEntry<HtmlEslintRequireOpenGraphProtocol>;
|
|
1164
1168
|
/**
|
|
1165
|
-
* Require `<title
|
|
1169
|
+
* Require `<title>` in the `<head>`
|
|
1166
1170
|
* @see https://html-eslint.org/docs/rules/require-title
|
|
1167
1171
|
*/
|
|
1168
1172
|
'@html-eslint/require-title'?: Linter.RuleEntry<[]>;
|
|
@@ -4914,7 +4918,7 @@ interface RuleOptions {
|
|
|
4914
4918
|
*/
|
|
4915
4919
|
'pnpm/json-enforce-catalog'?: Linter.RuleEntry<PnpmJsonEnforceCatalog>;
|
|
4916
4920
|
/**
|
|
4917
|
-
* Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This
|
|
4921
|
+
* Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
|
|
4918
4922
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
|
|
4919
4923
|
*/
|
|
4920
4924
|
'pnpm/json-prefer-workspace-settings'?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>;
|
|
@@ -4924,7 +4928,7 @@ interface RuleOptions {
|
|
|
4924
4928
|
*/
|
|
4925
4929
|
'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>;
|
|
4926
4930
|
/**
|
|
4927
|
-
* Disallow
|
|
4931
|
+
* Disallow duplicate catalog items in `pnpm-workspace.yaml`
|
|
4928
4932
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
|
|
4929
4933
|
*/
|
|
4930
4934
|
'pnpm/yaml-no-duplicate-catalog-item'?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>;
|
|
@@ -8642,6 +8646,7 @@ type HtmlEslintRequireAttrs = {
|
|
|
8642
8646
|
tag: string;
|
|
8643
8647
|
attr: string;
|
|
8644
8648
|
value?: string;
|
|
8649
|
+
message?: string;
|
|
8645
8650
|
}[];
|
|
8646
8651
|
// ----- @html-eslint/require-closing-tags -----
|
|
8647
8652
|
type HtmlEslintRequireClosingTags = [] | [{
|
|
@@ -8661,7 +8666,9 @@ type HtmlEslintRequireImgAlt = [] | [{
|
|
|
8661
8666
|
type HtmlEslintRequireOpenGraphProtocol = [] | [string[]];
|
|
8662
8667
|
// ----- @html-eslint/sort-attrs -----
|
|
8663
8668
|
type HtmlEslintSortAttrs = [] | [{
|
|
8664
|
-
priority?: string
|
|
8669
|
+
priority?: (string | {
|
|
8670
|
+
pattern: string;
|
|
8671
|
+
})[];
|
|
8665
8672
|
}];
|
|
8666
8673
|
// ----- @html-eslint/use-baseline -----
|
|
8667
8674
|
type HtmlEslintUseBaseline = [] | [{
|
|
@@ -11799,10 +11806,17 @@ type NoRestrictedExports = [] | [({
|
|
|
11799
11806
|
};
|
|
11800
11807
|
})];
|
|
11801
11808
|
// ----- no-restricted-globals -----
|
|
11802
|
-
type NoRestrictedGlobals = (string | {
|
|
11809
|
+
type NoRestrictedGlobals = ((string | {
|
|
11803
11810
|
name: string;
|
|
11804
11811
|
message?: string;
|
|
11805
|
-
})[]
|
|
11812
|
+
})[] | [] | [{
|
|
11813
|
+
globals: (string | {
|
|
11814
|
+
name: string;
|
|
11815
|
+
message?: string;
|
|
11816
|
+
})[];
|
|
11817
|
+
checkGlobalObject?: boolean;
|
|
11818
|
+
globalObjects?: string[];
|
|
11819
|
+
}]);
|
|
11806
11820
|
// ----- no-restricted-imports -----
|
|
11807
11821
|
type NoRestrictedImports = ((string | {
|
|
11808
11822
|
name: string;
|
|
@@ -12305,6 +12319,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
12305
12319
|
var?: ("always" | "never" | "consecutive");
|
|
12306
12320
|
let?: ("always" | "never" | "consecutive");
|
|
12307
12321
|
const?: ("always" | "never" | "consecutive");
|
|
12322
|
+
using?: ("always" | "never" | "consecutive");
|
|
12323
|
+
awaitUsing?: ("always" | "never" | "consecutive");
|
|
12308
12324
|
} | {
|
|
12309
12325
|
initialized?: ("always" | "never" | "consecutive");
|
|
12310
12326
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
@@ -14588,7 +14604,7 @@ type SvgoSvgo = [] | [{
|
|
|
14588
14604
|
textStart?: string;
|
|
14589
14605
|
useShortTags?: boolean;
|
|
14590
14606
|
};
|
|
14591
|
-
plugins?: (("preset-default" | "cleanupAttrs" | "cleanupEnableBackground" | "cleanupIds" | "cleanupNumericValues" | "collapseGroups" | "convertColors" | "convertEllipseToCircle" | "convertPathData" | "convertShapeToPath" | "convertTransform" | "inlineStyles" | "mergePaths" | "mergeStyles" | "minifyStyles" | "moveElemsAttrsToGroup" | "moveGroupAttrsToElems" | "removeComments" | "removeDesc" | "removeDoctype" | "removeEditorsNSData" | "removeEmptyAttrs" | "removeEmptyContainers" | "removeEmptyText" | "removeHiddenElems" | "removeMetadata" | "removeNonInheritableGroupAttrs" | "removeUnknownsAndDefaults" | "removeUnusedNS" | "removeUselessDefs" | "removeUselessStrokeAndFill" | "removeXMLProcInst" | "sortAttrs" | "sortDefsChildren" | "cleanupListOfValues" | "convertOneStopGradients" | "convertStyleToAttrs" | "prefixIds" | "
|
|
14607
|
+
plugins?: (("preset-default" | "cleanupAttrs" | "cleanupEnableBackground" | "cleanupIds" | "cleanupNumericValues" | "collapseGroups" | "convertColors" | "convertEllipseToCircle" | "convertPathData" | "convertShapeToPath" | "convertTransform" | "inlineStyles" | "mergePaths" | "mergeStyles" | "minifyStyles" | "moveElemsAttrsToGroup" | "moveGroupAttrsToElems" | "removeComments" | "removeDeprecatedAttrs" | "removeDesc" | "removeDoctype" | "removeEditorsNSData" | "removeEmptyAttrs" | "removeEmptyContainers" | "removeEmptyText" | "removeHiddenElems" | "removeMetadata" | "removeNonInheritableGroupAttrs" | "removeUnknownsAndDefaults" | "removeUnusedNS" | "removeUselessDefs" | "removeUselessStrokeAndFill" | "removeXMLProcInst" | "sortAttrs" | "sortDefsChildren" | "cleanupListOfValues" | "convertOneStopGradients" | "convertStyleToAttrs" | "prefixIds" | "removeDimensions" | "removeOffCanvasPaths" | "removeRasterImages" | "removeScripts" | "removeStyleElement" | "removeTitle" | "removeViewBox" | "removeXlink" | "removeXMLNS" | "reusePaths" | "addAttributesToSVGElement" | "addClassesToSVGElement" | "removeAttributesBySelector" | "removeAttrs" | "removeElementsByAttr") | {
|
|
14592
14608
|
name: "addAttributesToSVGElement";
|
|
14593
14609
|
params?: {
|
|
14594
14610
|
attribute?: (string | {
|
|
@@ -14694,6 +14710,7 @@ type SvgoSvgo = [] | [{
|
|
|
14694
14710
|
name: "convertTransform";
|
|
14695
14711
|
params?: {
|
|
14696
14712
|
convertToShorts?: boolean;
|
|
14713
|
+
degPrecision?: boolean;
|
|
14697
14714
|
floatPrecision?: number;
|
|
14698
14715
|
transformPrecision?: number;
|
|
14699
14716
|
matrixToTransform?: boolean;
|
|
@@ -14702,6 +14719,8 @@ type SvgoSvgo = [] | [{
|
|
|
14702
14719
|
shortRotate?: boolean;
|
|
14703
14720
|
removeUseless?: boolean;
|
|
14704
14721
|
collapseIntoOne?: boolean;
|
|
14722
|
+
leadingZero?: boolean;
|
|
14723
|
+
negativeExtraSpace?: boolean;
|
|
14705
14724
|
};
|
|
14706
14725
|
} | {
|
|
14707
14726
|
name: "inlineStyles";
|
|
@@ -14725,7 +14744,7 @@ type SvgoSvgo = [] | [{
|
|
|
14725
14744
|
params?: {
|
|
14726
14745
|
restructure?: boolean;
|
|
14727
14746
|
forceMediaMerge?: boolean;
|
|
14728
|
-
comments?: (boolean |
|
|
14747
|
+
comments?: (boolean | ("exclamation" | "first-exclamation"));
|
|
14729
14748
|
usage?: (boolean | {
|
|
14730
14749
|
force?: boolean;
|
|
14731
14750
|
ids?: boolean;
|
|
@@ -14748,6 +14767,7 @@ type SvgoSvgo = [] | [{
|
|
|
14748
14767
|
} | {
|
|
14749
14768
|
name: "preset-default";
|
|
14750
14769
|
params?: {
|
|
14770
|
+
floatPrecision?: number;
|
|
14751
14771
|
overrides?: {
|
|
14752
14772
|
cleanupAttrs?: (boolean | {
|
|
14753
14773
|
newlines?: boolean;
|
|
@@ -14807,6 +14827,7 @@ type SvgoSvgo = [] | [{
|
|
|
14807
14827
|
});
|
|
14808
14828
|
convertTransform?: (boolean | {
|
|
14809
14829
|
convertToShorts?: boolean;
|
|
14830
|
+
degPrecision?: boolean;
|
|
14810
14831
|
floatPrecision?: number;
|
|
14811
14832
|
transformPrecision?: number;
|
|
14812
14833
|
matrixToTransform?: boolean;
|
|
@@ -14815,6 +14836,8 @@ type SvgoSvgo = [] | [{
|
|
|
14815
14836
|
shortRotate?: boolean;
|
|
14816
14837
|
removeUseless?: boolean;
|
|
14817
14838
|
collapseIntoOne?: boolean;
|
|
14839
|
+
leadingZero?: boolean;
|
|
14840
|
+
negativeExtraSpace?: boolean;
|
|
14818
14841
|
});
|
|
14819
14842
|
inlineStyles?: (boolean | {
|
|
14820
14843
|
onlyMatchedOnce?: boolean;
|
|
@@ -14831,7 +14854,7 @@ type SvgoSvgo = [] | [{
|
|
|
14831
14854
|
minifyStyles?: (boolean | {
|
|
14832
14855
|
restructure?: boolean;
|
|
14833
14856
|
forceMediaMerge?: boolean;
|
|
14834
|
-
comments?: (boolean |
|
|
14857
|
+
comments?: (boolean | ("exclamation" | "first-exclamation"));
|
|
14835
14858
|
usage?: (boolean | {
|
|
14836
14859
|
force?: boolean;
|
|
14837
14860
|
ids?: boolean;
|
|
@@ -14844,10 +14867,13 @@ type SvgoSvgo = [] | [{
|
|
|
14844
14867
|
removeComments?: (boolean | {
|
|
14845
14868
|
preservePatterns?: (false | string[]);
|
|
14846
14869
|
});
|
|
14870
|
+
removeDeprecatedAttrs?: (boolean | {
|
|
14871
|
+
removeUnsafe?: boolean;
|
|
14872
|
+
});
|
|
14847
14873
|
removeDesc?: (boolean | {
|
|
14848
14874
|
removeAny?: boolean;
|
|
14849
14875
|
});
|
|
14850
|
-
removeDoctype?:
|
|
14876
|
+
removeDoctype?: false;
|
|
14851
14877
|
removeEditorsNSData?: (boolean | {
|
|
14852
14878
|
additionalNamespaces?: string[];
|
|
14853
14879
|
});
|
|
@@ -14928,7 +14954,7 @@ type SvgoSvgo = [] | [{
|
|
|
14928
14954
|
} | {
|
|
14929
14955
|
name: "removeDeprecatedAttrs";
|
|
14930
14956
|
params?: {
|
|
14931
|
-
|
|
14957
|
+
removeUnsafe?: boolean;
|
|
14932
14958
|
};
|
|
14933
14959
|
} | {
|
|
14934
14960
|
name: "removeDesc";
|
package/dist/index.js
CHANGED
|
@@ -443,6 +443,11 @@ const configVue = (options = {}) => {
|
|
|
443
443
|
] }],
|
|
444
444
|
"vue/prop-name-casing": ["error", "camelCase"],
|
|
445
445
|
"vue/this-in-template": ["error", "never"],
|
|
446
|
+
"vue/v-bind-style": [
|
|
447
|
+
"error",
|
|
448
|
+
"shorthand",
|
|
449
|
+
{ sameNameShorthand: "always" }
|
|
450
|
+
],
|
|
446
451
|
...disabledRules$1,
|
|
447
452
|
...extensionRules,
|
|
448
453
|
...unCategorizedRules,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.4.1",
|
|
5
5
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"tag": "latest"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
40
|
-
"@html-eslint/parser": "^0.
|
|
39
|
+
"@html-eslint/eslint-plugin": "^0.45.0",
|
|
40
|
+
"@html-eslint/parser": "^0.45.0",
|
|
41
41
|
"astro-eslint-parser": "^1.2.2",
|
|
42
42
|
"eslint": "^9.20.0",
|
|
43
43
|
"eslint-plugin-astro": "^1.3.1",
|
|
44
44
|
"eslint-plugin-eslint-plugin": "^7.0.0",
|
|
45
45
|
"eslint-plugin-format": "^1.0.1",
|
|
46
|
-
"eslint-plugin-pnpm": "^1.1.
|
|
46
|
+
"eslint-plugin-pnpm": "^1.1.1",
|
|
47
47
|
"eslint-plugin-svelte": "^3.11.0",
|
|
48
|
-
"eslint-plugin-unused-imports": "^4.
|
|
49
|
-
"svelte": "^5.
|
|
48
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
49
|
+
"svelte": "^5.38.2",
|
|
50
50
|
"svelte-eslint-parser": "^1.3.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@antfu/install-pkg": "^1.1.0",
|
|
89
89
|
"@clack/prompts": "^0.11.0",
|
|
90
90
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
91
|
-
"@eslint/js": "^9.
|
|
91
|
+
"@eslint/js": "^9.33.0",
|
|
92
92
|
"@eslint/markdown": "^7.1.0",
|
|
93
93
|
"@unocss/eslint-plugin": "^66.4.2",
|
|
94
94
|
"@vitest/eslint-plugin": "^1.3.4",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"eslint-plugin-depend": "^1.2.0",
|
|
104
104
|
"eslint-plugin-github-action": "^0.0.16",
|
|
105
105
|
"eslint-plugin-import-x": "^4.16.1",
|
|
106
|
-
"eslint-plugin-jsdoc": "^
|
|
106
|
+
"eslint-plugin-jsdoc": "^54.1.1",
|
|
107
107
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
108
108
|
"eslint-plugin-n": "^17.21.3",
|
|
109
109
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"eslint-plugin-pinia": "^0.4.1",
|
|
113
113
|
"eslint-plugin-prettier": "^5.5.4",
|
|
114
114
|
"eslint-plugin-regexp": "^2.10.0",
|
|
115
|
-
"eslint-plugin-svgo": "^0.
|
|
115
|
+
"eslint-plugin-svgo": "^0.11.1",
|
|
116
116
|
"eslint-plugin-toml": "^0.12.0",
|
|
117
117
|
"eslint-plugin-unicorn": "^60.0.0",
|
|
118
118
|
"eslint-plugin-vue": "^10.4.0",
|
|
@@ -120,20 +120,20 @@
|
|
|
120
120
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
121
121
|
"globals": "^16.3.0",
|
|
122
122
|
"jsonc-eslint-parser": "^2.4.0",
|
|
123
|
-
"local-pkg": "^1.1.
|
|
123
|
+
"local-pkg": "^1.1.2",
|
|
124
124
|
"prettier": "^3.6.2",
|
|
125
125
|
"toml-eslint-parser": "^0.10.0",
|
|
126
|
-
"typescript-eslint": "^8.
|
|
126
|
+
"typescript-eslint": "^8.40.0",
|
|
127
127
|
"vue-eslint-parser": "^10.2.0",
|
|
128
128
|
"yaml-eslint-parser": "^1.3.0"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
131
|
"@ntnyq/prettier-config": "^3.0.1",
|
|
132
|
-
"@types/node": "^24.
|
|
133
|
-
"@typescript-eslint/utils": "^8.
|
|
134
|
-
"bumpp": "^10.2.
|
|
132
|
+
"@types/node": "^24.3.0",
|
|
133
|
+
"@typescript-eslint/utils": "^8.40.0",
|
|
134
|
+
"bumpp": "^10.2.3",
|
|
135
135
|
"consola": "^3.4.2",
|
|
136
|
-
"eslint": "^9.
|
|
136
|
+
"eslint": "^9.33.0",
|
|
137
137
|
"eslint-plugin-eslint-plugin": "^7.0.0",
|
|
138
138
|
"eslint-typegen": "^2.3.0",
|
|
139
139
|
"husky": "^9.1.7",
|
|
@@ -141,10 +141,10 @@
|
|
|
141
141
|
"nano-staged": "^0.8.0",
|
|
142
142
|
"npm-run-all2": "^8.0.4",
|
|
143
143
|
"tinyglobby": "^0.2.14",
|
|
144
|
-
"tsdown": "^0.
|
|
145
|
-
"tsx": "^4.20.
|
|
144
|
+
"tsdown": "^0.14.1",
|
|
145
|
+
"tsx": "^4.20.4",
|
|
146
146
|
"typescript": "^5.9.2",
|
|
147
|
-
"uncase": "^0.
|
|
147
|
+
"uncase": "^0.2.0",
|
|
148
148
|
"vitest": "^3.2.4"
|
|
149
149
|
},
|
|
150
150
|
"engines": {
|
|
@@ -164,9 +164,8 @@
|
|
|
164
164
|
"lib:build": "tsdown",
|
|
165
165
|
"lib:dev": "tsdown --watch",
|
|
166
166
|
"lint": "eslint --cache",
|
|
167
|
-
"release": "run-s release:check release:version
|
|
167
|
+
"release": "run-s release:check release:version",
|
|
168
168
|
"release:check": "run-s build lint test typecheck",
|
|
169
|
-
"release:publish": "pnpm publish",
|
|
170
169
|
"release:version": "bumpp",
|
|
171
170
|
"test": "vitest",
|
|
172
171
|
"typecheck": "tsc --noEmit",
|