New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add named-grid-areas-no-invalid #5167
Commits on Feb 21, 2021
Commits on Feb 23, 2021
-
-
-
Node version 10, supported by the test matrix, does not support .matchAll
-
use
_.flatten
instead ofArray.prototype.flat
because node version 10 does not support `Array.prototype.flat`
-
Update lib/rules/named-grid-areas-no-invalid/README.md
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/README.md
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/README.md
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/README.md
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/__tests__/index.js
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
-
-
adds checks for invalid symbols adds empty row checker
-
Commits on Feb 24, 2021
-
-
-
add test for multiple non-contiguous areas
sort the non-contiguous area names alphabetically to ensure consistency in error messages
-
adds test for
NONE
andnone
with commentsstylelint#5167 (comment) also changes `column` positions after test case whitespace changes
-
-
stylelint#5167 (comment) also fixes this stylelint#5167 (comment)
-
-
do not continue testing grid if non-rectangular
It is not worth checking the grid area names for being rectangular if the grid itself is not rectangular
-
Commits on Feb 25, 2021
-
Update lib/rules/named-grid-areas-no-invalid/__tests__/index.js
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/__tests__/index.js
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/__tests__/index.js
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
-
use object destructuring.
return
instead of...`else` stylistic changes requested: stylelint#5167 (comment) stylelint#5167 (comment) stylelint#5167 (comment)
-
do not define const parsedValue
it is only used once, and it doesn't add readability or testability.
-
Commits on Mar 1, 2021
-
-
- adds jsdoc for type checking requirements - removes unused exports of helper functions
-
Commits on Mar 4, 2021
-
Update docs/user-guide/rules/list.md
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/utils/isRectangular.js
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
-
Update lib/rules/named-grid-areas-no-invalid/README.md
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>