stylelint-config-osedea

3.0.0 • Public • Published

stylelint-config-osedea

Prerequisites

stylelint >= 13.5.0

Adding to a project

npm install -D stylelint-config-osedea@latest
yarn add -D stylelint-config-osedea@latest

Configuring rules for project

stylelint-config-osedea comes with the following environments

Config name Extends
prettier core
react-native core
styled-components core

Create a file called .stylelintrc.yml in the root of your project. Here, you will specify your rules, and extend one of the above rulesets.

Some example .stylelintrc.yml configs:

extends:
  - stylelint-config-osedea
  - stylelint-config-osedea/styled-components # this doesn't always work 
  - stylelint-config-osedea/prettier
extends:
  - stylelint-config-osedea
  - stylelint-config-osedea/react-native
  - stylelint-config-osedea/prettier
 
# You can override rules from the linter here. Use at your own risk. 
# rules: 
#   color-no-invalid-hex: null # For example, if you do not want to turn the linter off for this rule 
#   indentation: 4 # For example, if you wanted the linter to check for 4 spaces 

Package Sidebar

Install

npm i stylelint-config-osedea

Weekly Downloads

50

Version

3.0.0

License

none

Unpacked Size

58.2 kB

Total Files

22

Last publish

Collaborators

  • evan.glicakis
  • robinwkurtz
  • nram