@ariel-salgado/eslint-config 0.0.6-beta.4 → 0.0.6

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 CHANGED
@@ -3840,6 +3840,11 @@ interface RuleOptions {
3840
3840
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
3841
3841
  */
3842
3842
  'tailwindcss/enforce-consistent-class-order'?: Linter.RuleEntry<TailwindcssEnforceConsistentClassOrder>;
3843
+ /**
3844
+ * Enforce consistent important position for classes.
3845
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-important-position.md
3846
+ */
3847
+ 'tailwindcss/enforce-consistent-important-position'?: Linter.RuleEntry<TailwindcssEnforceConsistentImportantPosition>;
3843
3848
  /**
3844
3849
  * Enforce consistent line wrapping for tailwind classes.
3845
3850
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
@@ -3866,6 +3871,11 @@ interface RuleOptions {
3866
3871
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-conflicting-classes.md
3867
3872
  */
3868
3873
  'tailwindcss/no-conflicting-classes'?: Linter.RuleEntry<TailwindcssNoConflictingClasses>;
3874
+ /**
3875
+ * Disallow the use of deprecated Tailwind CSS classes.
3876
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-deprecated-classes.md
3877
+ */
3878
+ 'tailwindcss/no-deprecated-classes'?: Linter.RuleEntry<TailwindcssNoDeprecatedClasses>;
3869
3879
  /**
3870
3880
  * Disallow duplicate class names in tailwind classes.
3871
3881
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-duplicate-classes.md
@@ -11667,6 +11677,60 @@ type TailwindcssEnforceConsistentClassOrder = [] | [{
11667
11677
  tailwindConfig?: string;
11668
11678
  order?: ("asc" | "desc" | "official" | "improved");
11669
11679
  }];
11680
+ // ----- tailwindcss/enforce-consistent-important-position -----
11681
+ type TailwindcssEnforceConsistentImportantPosition = [] | [{
11682
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11683
+ match?: "strings";
11684
+ [k: string]: unknown | undefined;
11685
+ } | {
11686
+ match?: "objectKeys";
11687
+ pathPattern?: string;
11688
+ [k: string]: unknown | undefined;
11689
+ } | {
11690
+ match?: "objectValues";
11691
+ pathPattern?: string;
11692
+ [k: string]: unknown | undefined;
11693
+ })[]] | string)[];
11694
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11695
+ match?: "strings";
11696
+ [k: string]: unknown | undefined;
11697
+ } | {
11698
+ match?: "objectKeys";
11699
+ pathPattern?: string;
11700
+ [k: string]: unknown | undefined;
11701
+ } | {
11702
+ match?: "objectValues";
11703
+ pathPattern?: string;
11704
+ [k: string]: unknown | undefined;
11705
+ })[]])[];
11706
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11707
+ match?: "strings";
11708
+ [k: string]: unknown | undefined;
11709
+ } | {
11710
+ match?: "objectKeys";
11711
+ pathPattern?: string;
11712
+ [k: string]: unknown | undefined;
11713
+ } | {
11714
+ match?: "objectValues";
11715
+ pathPattern?: string;
11716
+ [k: string]: unknown | undefined;
11717
+ })[]] | string)[];
11718
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11719
+ match?: "strings";
11720
+ [k: string]: unknown | undefined;
11721
+ } | {
11722
+ match?: "objectKeys";
11723
+ pathPattern?: string;
11724
+ [k: string]: unknown | undefined;
11725
+ } | {
11726
+ match?: "objectValues";
11727
+ pathPattern?: string;
11728
+ [k: string]: unknown | undefined;
11729
+ })[]] | string)[];
11730
+ entryPoint?: string;
11731
+ tailwindConfig?: string;
11732
+ position?: ("legacy" | "recommended");
11733
+ }];
11670
11734
  // ----- tailwindcss/enforce-consistent-line-wrapping -----
11671
11735
  type TailwindcssEnforceConsistentLineWrapping = [] | [{
11672
11736
  callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
@@ -11943,6 +12007,59 @@ type TailwindcssNoConflictingClasses = [] | [{
11943
12007
  entryPoint?: string;
11944
12008
  tailwindConfig?: string;
11945
12009
  }];
12010
+ // ----- tailwindcss/no-deprecated-classes -----
12011
+ type TailwindcssNoDeprecatedClasses = [] | [{
12012
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12013
+ match?: "strings";
12014
+ [k: string]: unknown | undefined;
12015
+ } | {
12016
+ match?: "objectKeys";
12017
+ pathPattern?: string;
12018
+ [k: string]: unknown | undefined;
12019
+ } | {
12020
+ match?: "objectValues";
12021
+ pathPattern?: string;
12022
+ [k: string]: unknown | undefined;
12023
+ })[]] | string)[];
12024
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
12025
+ match?: "strings";
12026
+ [k: string]: unknown | undefined;
12027
+ } | {
12028
+ match?: "objectKeys";
12029
+ pathPattern?: string;
12030
+ [k: string]: unknown | undefined;
12031
+ } | {
12032
+ match?: "objectValues";
12033
+ pathPattern?: string;
12034
+ [k: string]: unknown | undefined;
12035
+ })[]])[];
12036
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12037
+ match?: "strings";
12038
+ [k: string]: unknown | undefined;
12039
+ } | {
12040
+ match?: "objectKeys";
12041
+ pathPattern?: string;
12042
+ [k: string]: unknown | undefined;
12043
+ } | {
12044
+ match?: "objectValues";
12045
+ pathPattern?: string;
12046
+ [k: string]: unknown | undefined;
12047
+ })[]] | string)[];
12048
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12049
+ match?: "strings";
12050
+ [k: string]: unknown | undefined;
12051
+ } | {
12052
+ match?: "objectKeys";
12053
+ pathPattern?: string;
12054
+ [k: string]: unknown | undefined;
12055
+ } | {
12056
+ match?: "objectValues";
12057
+ pathPattern?: string;
12058
+ [k: string]: unknown | undefined;
12059
+ })[]] | string)[];
12060
+ entryPoint?: string;
12061
+ tailwindConfig?: string;
12062
+ }];
11946
12063
  // ----- tailwindcss/no-duplicate-classes -----
11947
12064
  type TailwindcssNoDuplicateClasses = [] | [{
11948
12065
  callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
package/dist/index.js CHANGED
@@ -1376,6 +1376,7 @@ async function tailwindcss(options = {}) {
1376
1376
  rules: {
1377
1377
  ...plugin_tailwindcss.configs.recommended.rules,
1378
1378
  "tailwindcss/enforce-consistent-line-wrapping": "off",
1379
+ "tailwindcss/enforce-shorthand-classes": "error",
1379
1380
  "tailwindcss/no-unregistered-classes": ["error", { detectComponentClasses: true }]
1380
1381
  },
1381
1382
  settings: { "better-tailwindcss": { entryPoint } },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ariel-salgado/eslint-config",
3
3
  "type": "module",
4
- "version": "0.0.6-beta.4",
4
+ "version": "0.0.6",
5
5
  "description": "ESLint config for @ariel-salgado.",
6
6
  "author": "Ariel Salgado <ariel.salgado.acevedo@gmail.com>",
7
7
  "license": "MIT",
@@ -74,10 +74,10 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/node": "^24.0.13",
77
- "@typescript/native-preview": "7.0.0-dev.20250711.1",
77
+ "@typescript/native-preview": "7.0.0-dev.20250712.1",
78
78
  "bumpp": "^10.2.0",
79
79
  "eslint": "^9.31.0",
80
- "eslint-plugin-better-tailwindcss": "^3.5.2",
80
+ "eslint-plugin-better-tailwindcss": "^3.6.0",
81
81
  "eslint-plugin-svelte": "^3.10.1",
82
82
  "eslint-typegen": "^2.2.1",
83
83
  "svelte": "^5.35.6",