@icebreakers/stylelint-config 1.0.1 → 1.0.2

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.cjs CHANGED
@@ -93,6 +93,21 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
93
93
  });
94
94
 
95
95
  // src/index.ts
96
+ var ignoreAtRules = [
97
+ // tailwindcss
98
+ "tailwind",
99
+ "theme",
100
+ "apply",
101
+ "source",
102
+ "utility",
103
+ "variant",
104
+ "custom-variant",
105
+ "reference",
106
+ "config",
107
+ "plugin",
108
+ // unocss
109
+ "unocss"
110
+ ];
96
111
  function createDefaultConfig() {
97
112
  return {
98
113
  extends: [
@@ -127,17 +142,17 @@ function createDefaultConfig() {
127
142
  ignoreTypes: ["page"]
128
143
  }
129
144
  ],
145
+ "at-rule-no-deprecated": [
146
+ true,
147
+ {
148
+ ignoreAtRules
149
+ }
150
+ ],
130
151
  "scss/selector-no-redundant-nesting-selector": true,
131
152
  "scss/at-rule-no-unknown": [
132
153
  true,
133
154
  {
134
- ignoreAtRules: [
135
- // tailwindcss
136
- "tailwind",
137
- "config",
138
- // unocss
139
- "unocss"
140
- ]
155
+ ignoreAtRules
141
156
  }
142
157
  ]
143
158
  }
package/dist/index.js CHANGED
@@ -75,6 +75,21 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
75
75
  });
76
76
 
77
77
  // src/index.ts
78
+ var ignoreAtRules = [
79
+ // tailwindcss
80
+ "tailwind",
81
+ "theme",
82
+ "apply",
83
+ "source",
84
+ "utility",
85
+ "variant",
86
+ "custom-variant",
87
+ "reference",
88
+ "config",
89
+ "plugin",
90
+ // unocss
91
+ "unocss"
92
+ ];
78
93
  function createDefaultConfig() {
79
94
  return {
80
95
  extends: [
@@ -109,17 +124,17 @@ function createDefaultConfig() {
109
124
  ignoreTypes: ["page"]
110
125
  }
111
126
  ],
127
+ "at-rule-no-deprecated": [
128
+ true,
129
+ {
130
+ ignoreAtRules
131
+ }
132
+ ],
112
133
  "scss/selector-no-redundant-nesting-selector": true,
113
134
  "scss/at-rule-no-unknown": [
114
135
  true,
115
136
  {
116
- ignoreAtRules: [
117
- // tailwindcss
118
- "tailwind",
119
- "config",
120
- // unocss
121
- "unocss"
122
- ]
137
+ ignoreAtRules
123
138
  }
124
139
  ]
125
140
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/stylelint-config",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "description": "icebreaker's stylelint config",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",