@vtex/shoreline-stylelint v0.1.1
Shoreline Stylelint
A configuration of Stylelint rules to help with the Shoreline adoption.
How to run?
All files:
pnpm stylelint **/*.css
Specific file:
pnpm run stylelint src/example.css
Fix:
pnpm stylelint **/*.css --fix
Development
Add new rules
- Refer to the Writing rules guide of the Stylelint documentation
Build custom rules
- Refer to the Writing plugins guide of the Stylelint documentation
- Create your rule in the
/src/plugins
directory - Validate your plugin with tests (reference sibling plugins for examples)
Useful references:
- PostCSS API: It is useful when writing a new plugin.
- jest-preset-stylelint: Use this documentation when writing tests.
- stylelint-prettier
Setup new rule/plugin
You must setup the new rule or plugin on the Stylelint configuration file
5 days ago
5 days ago
5 days ago
13 days ago
16 days ago
18 days ago
19 days ago
19 days ago
22 days ago
22 days ago
21 days ago
22 days ago
26 days ago
28 days ago
28 days ago
27 days ago
27 days ago
28 days ago
29 days ago
29 days ago
29 days ago
28 days ago
28 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
6 months ago
6 months ago