Please add an option to add stylelint when creating a new workspace
See original GitHub issueDescription
It would be nice if you added stylelint when I’m created a new workspace. It can be configured respectively to the Default stylesheet format user chose.
Motivation
Just like any other linter (tslint, eslint, etc…) it be appreciated to add css, scss linter which helps you avoid errors and enforce conventions in your styles .
Suggested Implementation
While execute the npx create-nx-workspace@latest
to create a new workspace I need to select a Default stylesheet.
after I selected it you can install the relevant npm packages of the stylelint. and add the config file in the root directory.
For Example:
User selecte scss Default stylesheet:
-npm i --D stylelint stylelint-config-standard stylelint-config-sass-guidelines
- create a new file
.stylelintrc
in the root directory
Issue Analytics
- State:
- Created 3 years ago
- Reactions:17
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Incremental stylesheet linting with Stylelint and the Nx toolchain
In this first part, we add Stylelint by following the steps from their Getting ... Create the file <nx-workspace-root>/.stylelintrc with the ...
Read more >Getting started | Stylelint
1. Use npm to install Stylelint and the shared config: npm install --save-dev stylelint stylelint-config-standard-scss · 2. Create a .stylelintrc.json ...
Read more >vscode-stylelint - Visual Studio Marketplace
Type @id:stylelint.vscode-stylelint into the search form and install the topmost one. The extension first looks for a copy of Stylelint ...
Read more >Level up your CSS linting using Stylelint - LogRocket Blog
First, use npm to install Stylelint, along with the stylelint-config-standard to enable a core set of rules. Stylelint-config-standard is based ...
Read more >How to configure the stylelint extension in vscode?
Add the language identifiers for the documents you want to validate to the extension's workspace or user settings using the ...
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 Free
Top 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
@ofirrifo @vsavkin @developer239 I added a plugin to support stylelint in nx workspaces. Please give it a try: https://github.com/Phillip9587/nx-stylelint
@developer239 we are talking about stylelint and not tslint