https://github.com/darkroomengineering/stylelint-config-base-css
https://github.com/darkroomengineering/stylelint-config-base-css
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/darkroomengineering/stylelint-config-base-css
- Owner: darkroomengineering
- Created: 2020-12-16T13:00:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T06:02:08.000Z (almost 3 years ago)
- Last Synced: 2025-09-22T02:25:14.908Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 390 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @studio-freight/stylelint-config-base-css
This package includes the shareable Stylelint configuration used by [Studio Freight](https://github.com/studio-freight) on every website.
## Usage
Install this package:
`npm install --save-dev @studio-freight/stylelint-config-base-css`
or
`yarn add --dev @studio-freight/stylelint-config-base-css`
Then create a file named `.stylelintrc` with following contents in the root folder of your project:
```js
{
"extends": "@studio-freight/stylelint-config-base-css"
}
```
you're gucci.
## Includes
### [Standard rules](https://github.com/stylelint/stylelint-config-standard)
### [High Performance Animation](https://github.com/kristerkari/stylelint-high-performance-animation)
### Prettier settings:
```js
{
useTabs: false,
tabWidth: 2,
printWidth: 80,
singleQuote: false,
trailingComma: "none",
jsxBracketSameLine: false,
semi: false
}
```
make sure you have the following setting enabled in VSCode:
```js
"editor.codeActionsOnSave": {
"source.fixAll": true
}
```
since prettier is already included here, you don't need to run any prettifying tools on your end, stylelint already does that for you, you're welcome!