@simplysm/lint 13.0.42 → 13.0.43
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 +11 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,7 +93,8 @@ Or use the full configuration directly:
|
|
|
93
93
|
true,
|
|
94
94
|
{
|
|
95
95
|
"severity": "error",
|
|
96
|
-
"browsers": ["chrome >= 84"]
|
|
96
|
+
"browsers": ["chrome >= 84"],
|
|
97
|
+
"ignore": ["css-cascade-layers", "css-nesting", "css-overflow"]
|
|
97
98
|
}
|
|
98
99
|
],
|
|
99
100
|
"plugin/no-unresolved-module": true
|
|
@@ -134,13 +135,18 @@ The `stylelint-recommended` config includes:
|
|
|
134
135
|
|
|
135
136
|
The config enforces Chrome 84+ compatibility by default. This aligns with Simplysm's target browser support.
|
|
136
137
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
- `@layer` directive
|
|
138
|
+
The following features are intentionally ignored (allowed despite Chrome 84 not supporting them, because they are used by Tailwind CSS internals):
|
|
139
|
+
|
|
140
|
+
- `css-cascade-layers` (`@layer` directive)
|
|
141
|
+
- `css-nesting` (CSS nesting syntax)
|
|
142
|
+
- `css-overflow` (overflow shorthand)
|
|
143
|
+
|
|
144
|
+
Features not in the ignore list will trigger errors if they are unsupported in Chrome 84. Examples:
|
|
145
|
+
|
|
140
146
|
- `aspect-ratio` property (Chrome 88+)
|
|
141
147
|
- `:is()`, `:where()` selectors (Chrome 88+)
|
|
142
148
|
|
|
143
|
-
Use overrides to disable checks for files
|
|
149
|
+
Use overrides to disable checks for additional files that intentionally use unsupported features.
|
|
144
150
|
|
|
145
151
|
## Custom Rules
|
|
146
152
|
|