stylelint Questions

1

Solved

I'm setting up a React project with TypeScript and Styled Components from scratch. I've already done this before and in the previous project the VS Code Stylelint extension worked great. However, ...

1

Solved

To be honest I can't understand the documentation or i miss something. It drives me crazy 😑 Steps that i did: Installed VSCode Installed Prettier plugin Opened simply project with couple files ...
Telephonic asked 13/11, 2019 at 11:56

0

I use Next.js with styled-jsx together with stylelint and everything goes well until when I start to use variables in styled-jsx because stylelint throw stylelint(CssSyntaxError) on those variables...
Immure asked 21/9, 2019 at 0:12

0

I'm using lint-staged along with husky to run linters against all the staged files before commit. But my codebase is old; so don't want to run linters against existing (modified) files for now. Is ...
Tandem asked 11/6, 2019 at 9:12

1

Solved

When i try to npm start, error: No configuration provided for .../main.scss, Error in plugin "gulp-stylelint". Someone help me!
Rusk asked 5/4, 2019 at 9:34

1

Solved

I'm trying to lint more than one directory at once with stylelint. In my package.json file I have: "scripts": { "lint": "stylelint 'pages/**/*.scss', 'global/components/**/*.scss' ; exit 0"...
Sourpuss asked 3/4, 2019 at 9:1

1

Solved

Does ESLint and Stylelint do the same thing (linting) the project or is one used specifically for certain files? Can I use them both in the same project? Is it a good idea to use more than one lint...
Dealings asked 29/12, 2018 at 7:56

2

Solved

I'm installing stylelint-config-styled-components on a react project. When I execute npm run lint:css (or use the stylelint command directly through the CLI) I don't get any results. I have inten...
Consortium asked 28/4, 2018 at 15:21

2

Solved

[stylelint] Unexpected missing end-of-source newline (no-missing-end-of-source-newline) [stylelint] Expected "backgroundColor" to be "backgroundcolor" (value-keyword-case) [stylelint] Expec...
Mellophone asked 21/6, 2018 at 11:43

1

I'm trying to configure stylelint to only lint my CSS and/or SCSS files. I'm extending stylelint-config-recommended but by default it seems to be processing loads of other files as well as the .css...
Trapeze asked 28/5, 2018 at 10:19

2

I am using Husky with Lint-staged and Stylelint "scripts": { "precommit": "lint-staged", }, "lint-staged": { "*.scss": ["stylelint --syntax scss" ] }, OS - Latest OSX Node - 6.10.0 NPM...
Macronucleus asked 12/5, 2017 at 7:38

2

Solved

How can I teach Stylelint Angular's selector ":host" ? E.g. Angular2-Seed by MGechev shows in its build-process ":host" as error: src/client/app/+home/home.component.css 1:1 ‼ Unexpected unknown ...
Taphouse asked 17/8, 2016 at 12:57

© 2022 - 2024 — McMap. All rights reserved.