All Projects → stylelint → Stylelint Config Recommended

stylelint / Stylelint Config Recommended

Licence: mit
The recommended shareable config for stylelint

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Stylelint Config Recommended

coc-stylelint
Stylelint language server extension for coc.nvim
Stars: ✭ 42 (-83.53%)
Mutual labels:  stylelint
ember-boilerplate
👓 The stable base upon which we build our Ember.js projects at Mirego.
Stars: ✭ 33 (-87.06%)
Mutual labels:  stylelint
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (-78.43%)
Mutual labels:  stylelint
the-joy-of-css
How to touch a users eyes without hurting them or freaking out.
Stars: ✭ 17 (-93.33%)
Mutual labels:  stylelint
element-plus-admin
基于vite+ts+elementPlus
Stars: ✭ 361 (+41.57%)
Mutual labels:  stylelint
vue-startup
基于vue+webpack(+typescript)的示例项目
Stars: ✭ 20 (-92.16%)
Mutual labels:  stylelint
gulp-boilerplate
Gulp boilerplate
Stars: ✭ 24 (-90.59%)
Mutual labels:  stylelint
elint
A easy way to lint your code
Stars: ✭ 38 (-85.1%)
Mutual labels:  stylelint
7-react-admin-ts
用 ts + react-hooks 实现的管理后台
Stars: ✭ 23 (-90.98%)
Mutual labels:  stylelint
vue-cli-plugin-stylelint
Vue cli 3.x plugin for stylelint
Stars: ✭ 48 (-81.18%)
Mutual labels:  stylelint
vscode-stylelint-plus
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint, support auto fix on save.
Stars: ✭ 32 (-87.45%)
Mutual labels:  stylelint
electron-vue-boilerplate
Simple boilerplate for building Vue app with Electron and Webpack.
Stars: ✭ 53 (-79.22%)
Mutual labels:  stylelint
dva-typescript-antd-starter-kit
A admin dashboard application demo based on antd by typescript and dva
Stars: ✭ 61 (-76.08%)
Mutual labels:  stylelint
figma-plugin-typescript-boilerplate
Figma plugin TypeScript boilerplate to start developing right away
Stars: ✭ 43 (-83.14%)
Mutual labels:  stylelint
stylelint-processor-glamorous
💄 Lint glamorous and related css-in-js with stylelint
Stars: ✭ 18 (-92.94%)
Mutual labels:  stylelint
stylelint-config-styled-components
The shareable stylelint config for stylelint-processor-styled-components
Stars: ✭ 66 (-74.12%)
Mutual labels:  stylelint
react-js-boilerplate
A React + Redux + HOT + Webpack + Material-UI + Sass boilerplate
Stars: ✭ 14 (-94.51%)
Mutual labels:  stylelint
jest-runner-stylelint
Stylelint runner for Jest
Stars: ✭ 18 (-92.94%)
Mutual labels:  stylelint
starbase
⭐ Production-ready website boilerplate made with webpack 5, modern JS (via Babel 7) & Sass
Stars: ✭ 70 (-72.55%)
Mutual labels:  stylelint
db-portfolio
My personal portfolio website.
Stars: ✭ 97 (-61.96%)
Mutual labels:  stylelint

stylelint-config-recommended

NPM version Build Status

The recommended shareable config for stylelint.

It turns on all the possible errors rules within stylelint.

Use it as is or as a foundation for your own config.

Installation

npm install stylelint-config-recommended --save-dev

Usage

If you've installed stylelint-config-recommended locally within your project, just set your stylelint config to:

{
  "extends": "stylelint-config-recommended"
}

If you've globally installed stylelint-config-recommended using the -g flag, then you'll need to use the absolute path to stylelint-config-recommended in your config e.g.

{
  "extends": "/absolute/path/to/stylelint-config-recommended"
}

Since stylelint 9.7.0, you can simply use the globally installed configuration name instead of the absolute path:

{
  "extends": "stylelint-config-recommended"
}

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to change the at-rule-no-unknown rule to use its ignoreAtRules option, turn off the block-no-empty rule, and add the unit-allowed-list rule:

{
  "extends": "stylelint-config-recommended",
  "rules": {
    "at-rule-no-unknown": [
      true,
      {
        "ignoreAtRules": ["extends"]
      }
    ],
    "block-no-empty": null,
    "unit-allowed-list": ["em", "rem", "s"]
  }
}

Changelog

License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].