@mouse_484/eslint-config 5.10.50 → 5.10.51

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mouse_484/eslint-config",
3
3
  "type": "module",
4
- "version": "5.10.50",
4
+ "version": "5.10.51",
5
5
  "author": "mouse_484",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/mouse484/config/tree/main/packages/eslint",
@@ -49,6 +49,11 @@ export interface RuleOptions {
49
49
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-shorthand-classes.md
50
50
  */
51
51
  'better-tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<BetterTailwindcssEnforceShorthandClasses>
52
+ /**
53
+ * Disallow concatenated classes in Tailwind CSS class strings.
54
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-concatenated-classes.md
55
+ */
56
+ 'better-tailwindcss/no-concatenated-classes'?: Linter.RuleEntry<BetterTailwindcssNoConcatenatedClasses>
52
57
  /**
53
58
  * Disallow classes that produce conflicting styles.
54
59
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-conflicting-classes.md
@@ -1423,6 +1428,8 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
1423
1428
  strictness?: ("strict" | "loose")
1424
1429
 
1425
1430
  tabWidth?: number
1431
+
1432
+ vueConvertToBinding?: boolean
1426
1433
  }]
1427
1434
  // ----- better-tailwindcss/enforce-consistent-variable-syntax -----
1428
1435
  type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
@@ -2736,6 +2743,333 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
2736
2743
 
2737
2744
  cwd?: string
2738
2745
  }]
2746
+ // ----- better-tailwindcss/no-concatenated-classes -----
2747
+ type BetterTailwindcssNoConcatenatedClasses = []|[{
2748
+
2749
+ selectors?: ({
2750
+
2751
+ kind: "attribute"
2752
+
2753
+ match?: ({
2754
+
2755
+ type: "strings"
2756
+ } | {
2757
+
2758
+ path?: string
2759
+
2760
+ type: "objectKeys"
2761
+ } | {
2762
+
2763
+ path?: string
2764
+
2765
+ type: "objectValues"
2766
+ } | {
2767
+
2768
+ match: ({
2769
+
2770
+ type: "strings"
2771
+ } | {
2772
+
2773
+ path?: string
2774
+
2775
+ type: "objectKeys"
2776
+ } | {
2777
+
2778
+ path?: string
2779
+
2780
+ type: "objectValues"
2781
+ })[]
2782
+
2783
+ type: "anonymousFunctionReturn"
2784
+ })[]
2785
+
2786
+ name: string
2787
+ } | ({
2788
+
2789
+ callTarget?: ("all" | "first" | "last" | number)
2790
+
2791
+ kind: "callee"
2792
+
2793
+ match?: ({
2794
+
2795
+ type: "strings"
2796
+ } | {
2797
+
2798
+ path?: string
2799
+
2800
+ type: "objectKeys"
2801
+ } | {
2802
+
2803
+ path?: string
2804
+
2805
+ type: "objectValues"
2806
+ } | {
2807
+
2808
+ match: ({
2809
+
2810
+ type: "strings"
2811
+ } | {
2812
+
2813
+ path?: string
2814
+
2815
+ type: "objectKeys"
2816
+ } | {
2817
+
2818
+ path?: string
2819
+
2820
+ type: "objectValues"
2821
+ })[]
2822
+
2823
+ type: "anonymousFunctionReturn"
2824
+ })[]
2825
+
2826
+ name: string
2827
+
2828
+ path?: string
2829
+
2830
+ targetArgument?: ("all" | "first" | "last" | number)
2831
+
2832
+ targetCall?: ("all" | "first" | "last" | number)
2833
+ } | {
2834
+
2835
+ callTarget?: ("all" | "first" | "last" | number)
2836
+
2837
+ kind: "callee"
2838
+
2839
+ match?: ({
2840
+
2841
+ type: "strings"
2842
+ } | {
2843
+
2844
+ path?: string
2845
+
2846
+ type: "objectKeys"
2847
+ } | {
2848
+
2849
+ path?: string
2850
+
2851
+ type: "objectValues"
2852
+ } | {
2853
+
2854
+ match: ({
2855
+
2856
+ type: "strings"
2857
+ } | {
2858
+
2859
+ path?: string
2860
+
2861
+ type: "objectKeys"
2862
+ } | {
2863
+
2864
+ path?: string
2865
+
2866
+ type: "objectValues"
2867
+ })[]
2868
+
2869
+ type: "anonymousFunctionReturn"
2870
+ })[]
2871
+
2872
+ name?: string
2873
+
2874
+ path: string
2875
+
2876
+ targetArgument?: ("all" | "first" | "last" | number)
2877
+
2878
+ targetCall?: ("all" | "first" | "last" | number)
2879
+ }) | ({
2880
+
2881
+ kind: "tag"
2882
+
2883
+ match?: ({
2884
+
2885
+ type: "strings"
2886
+ } | {
2887
+
2888
+ path?: string
2889
+
2890
+ type: "objectKeys"
2891
+ } | {
2892
+
2893
+ path?: string
2894
+
2895
+ type: "objectValues"
2896
+ } | {
2897
+
2898
+ match: ({
2899
+
2900
+ type: "strings"
2901
+ } | {
2902
+
2903
+ path?: string
2904
+
2905
+ type: "objectKeys"
2906
+ } | {
2907
+
2908
+ path?: string
2909
+
2910
+ type: "objectValues"
2911
+ })[]
2912
+
2913
+ type: "anonymousFunctionReturn"
2914
+ })[]
2915
+
2916
+ name: string
2917
+
2918
+ path?: string
2919
+ } | {
2920
+
2921
+ kind: "tag"
2922
+
2923
+ match?: ({
2924
+
2925
+ type: "strings"
2926
+ } | {
2927
+
2928
+ path?: string
2929
+
2930
+ type: "objectKeys"
2931
+ } | {
2932
+
2933
+ path?: string
2934
+
2935
+ type: "objectValues"
2936
+ } | {
2937
+
2938
+ match: ({
2939
+
2940
+ type: "strings"
2941
+ } | {
2942
+
2943
+ path?: string
2944
+
2945
+ type: "objectKeys"
2946
+ } | {
2947
+
2948
+ path?: string
2949
+
2950
+ type: "objectValues"
2951
+ })[]
2952
+
2953
+ type: "anonymousFunctionReturn"
2954
+ })[]
2955
+
2956
+ name?: string
2957
+
2958
+ path: string
2959
+ }) | {
2960
+
2961
+ kind: "variable"
2962
+
2963
+ match?: ({
2964
+
2965
+ type: "strings"
2966
+ } | {
2967
+
2968
+ path?: string
2969
+
2970
+ type: "objectKeys"
2971
+ } | {
2972
+
2973
+ path?: string
2974
+
2975
+ type: "objectValues"
2976
+ } | {
2977
+
2978
+ match: ({
2979
+
2980
+ type: "strings"
2981
+ } | {
2982
+
2983
+ path?: string
2984
+
2985
+ type: "objectKeys"
2986
+ } | {
2987
+
2988
+ path?: string
2989
+
2990
+ type: "objectValues"
2991
+ })[]
2992
+
2993
+ type: "anonymousFunctionReturn"
2994
+ })[]
2995
+
2996
+ name: string
2997
+ })[]
2998
+
2999
+ callees?: ([string, ({
3000
+
3001
+ match: "strings"
3002
+ } | {
3003
+
3004
+ match: "objectKeys"
3005
+
3006
+ pathPattern?: string
3007
+ } | {
3008
+
3009
+ match: "objectValues"
3010
+
3011
+ pathPattern?: string
3012
+ })[]] | string)[]
3013
+
3014
+ attributes?: (string | [string, ({
3015
+
3016
+ match: "strings"
3017
+ } | {
3018
+
3019
+ match: "objectKeys"
3020
+
3021
+ pathPattern?: string
3022
+ } | {
3023
+
3024
+ match: "objectValues"
3025
+
3026
+ pathPattern?: string
3027
+ })[]])[]
3028
+
3029
+ variables?: ([string, ({
3030
+
3031
+ match: "strings"
3032
+ } | {
3033
+
3034
+ match: "objectKeys"
3035
+
3036
+ pathPattern?: string
3037
+ } | {
3038
+
3039
+ match: "objectValues"
3040
+
3041
+ pathPattern?: string
3042
+ })[]] | string)[]
3043
+
3044
+ tags?: ([string, ({
3045
+
3046
+ match: "strings"
3047
+ } | {
3048
+
3049
+ match: "objectKeys"
3050
+
3051
+ pathPattern?: string
3052
+ } | {
3053
+
3054
+ match: "objectValues"
3055
+
3056
+ pathPattern?: string
3057
+ })[]] | string)[]
3058
+
3059
+ entryPoint?: string
3060
+
3061
+ messageStyle?: ("visual" | "compact" | "raw")
3062
+
3063
+ tailwindConfig?: string
3064
+
3065
+ tsconfig?: string
3066
+
3067
+ detectComponentClasses?: boolean
3068
+
3069
+ rootFontSize?: number
3070
+
3071
+ cwd?: string
3072
+ }]
2739
3073
  // ----- better-tailwindcss/no-conflicting-classes -----
2740
3074
  type BetterTailwindcssNoConflictingClasses = []|[{
2741
3075