Releases: Nick2bad4u/stylelint-plugin-grid
v1.0.2
[1.0.2] - 2026-05-28
- Commit Range: ➡️
a37b193...6ece06b
✨ Features
-
a37b193— ✨ [feat] Add new grid-related linting rules -
Introduce
no-ineffective-container-propertiesto prevent ineffective grid container declarations when display values are not grid-capable. -
Implement
no-invalid-repeat-countto disallow invalid fixed repeat counts in CSS Grid track templates. -
Add
no-invalid-spanto prevent non-positive span counts in grid placement declarations. -
Create
no-reversed-placement-linesto disallow reversed or zero-width numeric CSS Grid placement line ranges. -
Introduce
no-zero-grid-linesto prevent the use of grid line0in placement declarations. -
Add
prefer-minmax-zero-frto encourage wrapping bare flexible column tracks inminmax(0, <flex>). -
Implement
require-explicit-tracks-with-areasto enforce explicit track sizing alongside named area templates.
🧪 [test] Enhance grid rules test coverage -
Add tests for the new grid linting rules to ensure proper functionality and reporting of invalid configurations.
-
Validate correct warnings for invalid repeat counts, non-positive spans, reversed placement lines, and ineffective container properties.
🧹 Chores
6ece06b— Release v1.0.2
v1.0.1
[1.0.1] - 2026-05-28
- Commit Range: ➡️
9a089a3...205e933
✨ Features
-
2a33535— ✨ [feat] Update Stylelint Plugin with various enhancements and fixes -
🔧 [refactor] Upgrade
@eslint/config-inspectorto version 3.0.4 and addpeerDependenciesMetaforstylelint -
🚜 [refactor] Improve
createStylelintRulefunction by usingObject.assignfor better readability -
🐛 [fix] Change variable type from
Declaration | nulltoDeclaration | undefinedinfindSiblingDeclaration -
⚡️ [perf] Optimize string checks in
splitTopLevelfunction for better performance -
🔧 [refactor] Update package import path in
plugin-constants.tsfor better clarity -
✨ [feat] Introduce type guards for grid rule IDs in
plugin.ts -
📝 [docs] Add public Stylelint rule definition comments across multiple rule files for better documentation
-
🧪 [test] Update tests for
remark-lint-rule-doc-headingsto improve import structure -
🧹 [chore] Enhance
stylelint.config.mjswith additional overrides for Docusaurus CSS files -
a715105— ✨ [feat] Add new grid rules for improved CSS Grid validation -
📝 Introduce
no-dense-auto-flowrule to disallowgrid-auto-flow: densefor better visual order consistency. -
📝 Implement
no-invalid-auto-repeatrule to prevent invalid auto-repeat track sizes in CSS Grid. -
📝 Add
no-invalid-minmaxrule to disallow flexiblefrvalues as minimums inminmax()track sizes. -
📝 Require explicit row sizing with
require-explicit-rows-with-column-flowwhen usinggrid-auto-flow: column. -
🧪 Add tests for new rules to ensure correct functionality and reporting.
-
🧹 Update documentation to reflect new rules and their usage.
-
cb4ddda— ✨ [feat] Bootstrap CSS Grid Stylelint plugin
🛠️ Bug Fixes
daec291— 🔧 [fix] Update package version to 1.0.0 in package.json and package-lock.json
🛠️ Other Changes
9a089a3— Initial commit
📝 Documentation
c96439e— 📝 [docs] Refresh Grid documentation site