Skip to content

Releases: Nick2bad4u/stylelint-plugin-grid

v1.0.2

28 May 19:58
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

[1.0.2] - 2026-05-28

✨ Features

  • a37b193 — ✨ [feat] Add new grid-related linting rules

  • Introduce no-ineffective-container-properties to prevent ineffective grid container declarations when display values are not grid-capable.

  • Implement no-invalid-repeat-count to disallow invalid fixed repeat counts in CSS Grid track templates.

  • Add no-invalid-span to prevent non-positive span counts in grid placement declarations.

  • Create no-reversed-placement-lines to disallow reversed or zero-width numeric CSS Grid placement line ranges.

  • Introduce no-zero-grid-lines to prevent the use of grid line 0 in placement declarations.

  • Add prefer-minmax-zero-fr to encourage wrapping bare flexible column tracks in minmax(0, <flex>).

  • Implement require-explicit-tracks-with-areas to 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

v1.0.1

28 May 04:58
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

[1.0.1] - 2026-05-28

✨ Features

  • 2a33535 — ✨ [feat] Update Stylelint Plugin with various enhancements and fixes

  • 🔧 [refactor] Upgrade @eslint/config-inspector to version 3.0.4 and add peerDependenciesMeta for stylelint

  • 🚜 [refactor] Improve createStylelintRule function by using Object.assign for better readability

  • 🐛 [fix] Change variable type from Declaration | null to Declaration | undefined in findSiblingDeclaration

  • ⚡️ [perf] Optimize string checks in splitTopLevel function for better performance

  • 🔧 [refactor] Update package import path in plugin-constants.ts for 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-headings to improve import structure

  • 🧹 [chore] Enhance stylelint.config.mjs with additional overrides for Docusaurus CSS files

  • a715105 — ✨ [feat] Add new grid rules for improved CSS Grid validation

  • 📝 Introduce no-dense-auto-flow rule to disallow grid-auto-flow: dense for better visual order consistency.

  • 📝 Implement no-invalid-auto-repeat rule to prevent invalid auto-repeat track sizes in CSS Grid.

  • 📝 Add no-invalid-minmax rule to disallow flexible fr values as minimums in minmax() track sizes.

  • 📝 Require explicit row sizing with require-explicit-rows-with-column-flow when using grid-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

📝 Documentation

  • c96439e — 📝 [docs] Refresh Grid documentation site

🧹 Chores

  • 205e933 — Release v1.0.1

  • 9ae5c7c — 🧹 [chore] Align repository metadata