stylelint
See original GitHub issueUsing version 3.0.0 of the suitcss preprocessor, stylelint is reporting warnings for the normalize.css in the node_modules directory:
node_modules/normalize.css/normalize.css
12:3 ⚠ Unexpected vendor-prefix "-ms-text-size-adjust" (property-no-vendor-prefix) [stylelint]
13:3 ⚠ Unexpected vendor-prefix "-webkit-text-size-adjust" (property-no-vendor-prefix) [stylelint]
96:3 ⚠ Unexpected vendor-prefix "-webkit-text-decoration-skip" (property-no-vendor-prefix) [stylelint]
212:1 ⚠ Unexpected composition (selector-root-no-composition) [stylelint]
306:3 ⚠ Unexpected vendor-prefix "-webkit-appearance" (property-no-vendor-prefix) [stylelint]
392:3 ⚠ Unexpected vendor-prefix "-webkit-appearance" (property-no-vendor-prefix) [stylelint]
402:3 ⚠ Unexpected vendor-prefix "-webkit-appearance" (property-no-vendor-prefix) [stylelint]
409:3 ⚠ Unexpected vendor-prefix "::-webkit-input-placeholder" (selector-no-vendor-prefix) [stylelint]
420:3 ⚠ Unexpected vendor-prefix "-webkit-appearance" (property-no-vendor-prefix) [stylelint]
I was able to suppress these warnings by including a .stylelintignore file in my project. I was looking through the stylelint-config-suitcss docs, and it seems like the intent is for the node_modules directory to be ignored by default?
Issue Analytics
- State:
- Created 7 years ago
- Comments:29 (23 by maintainers)
Top Results From Across the Web
Stylelint: Home
Stylelint. npm version Build Status npm downloads. A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
Read more >Stylelint - GitHub
GitHub - stylelint/stylelint: A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
Read more >stylelint - npm
A mighty, modern CSS linter.. Latest version: 14.16.1, last published: a day ago. Start using stylelint in your project by running `npm i...
Read more >vscode-stylelint - Visual Studio Marketplace
vscode-stylelint. Testing Linting. The official Visual Studio Code extension for Stylelint. Screenshot of Stylelint errors displayed in VS Code.
Read more >What is stylelint and how to integrate a modern CSS linter in ...
Stylelint is a tool that reports bad code in your CSS files. It helps to enforce the consistent code and prevents you from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So we’ve got 5 partecipants to this conversation.
Let’s vote: 👍 ignore
node_modules
👎 keep the status-quoBased on that, perhaps we should make a change to ignore anything in
node_modules
? This issue seems to be causing hassle for users.