Skip to content
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

CSS Grid Property is not valid #463

Open
lightbringer1991 opened this issue Sep 21, 2020 · 1 comment
Open

CSS Grid Property is not valid #463

lightbringer1991 opened this issue Sep 21, 2020 · 1 comment

Comments

@lightbringer1991
Copy link

I am using stylus with CSS Grid properties

.random-element
  display: grid
  grid-column-gap: 10px
  grid-row-gap: 10px

However the stylint comes back with

test.styl
3:2 valid error property is not valid

test.styl
4:2 valid error property is not valid

I'm using Stylint v1.5.9, tried upgrading to v2.0.0 but having the same result.
Webpack stylus loader is working fine.

@koynoyno
Copy link

Add

"customProperties": ['grid-column-gap', 'grid-row-gap'],

line to your .stylintrc file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants