6.1.2 • Published 3 years ago

@lego/stylelint-config-prettier v6.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@lego/stylelint-config-prettier

Purpose

This is a stand-alone all-round configuration that inherits prettier configurations from @lego/prettier-config and is tailored towards usage with stylelint.

NOTE: if you are using @lego/stylelint-config you don't need to worry about this configuration, it will automatically be included

Installation

Install this config package:

npm i -D @lego/stylelint-config-prettier

Standalone Usage

Extend your .stylelintrc config file, and make sure @lego/stylelint-config-prettier is at the end:

{
  "extends": ["stylelint-prettier", "@lego/stylelint-config-prettier"]
}

or your stylelint.config.js config file is you want

module.exports = {
  extends: ['stylelint-prettier', '@lego/stylelint-config-prettier'],
};

Rules

This package currently implements rules from the following stylelint extensions:

Overriding Rules

With the above tslint.json configuration example, you can still use or override already defined rules as such:

{
  "extends": ["tslint:latest", "@lego/stylelint-config-prettier"],
  "rules": {
    "prettier": [true, {
      "printWidth": 100,
      "semi": true,
      "singleQuote": true,
      "trailingComma": "es5",
      "arrowParens": "always",
      "proseWrap": "preserve"',
    }],
  }
}
6.1.2

3 years ago

3.0.0

4 years ago

2.0.0

5 years ago

1.10.1

5 years ago

1.10.1-alpha.0

5 years ago

1.10.0

5 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.4.0

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.1-alpha.6

6 years ago

1.1.1-alpha.1

6 years ago

1.1.1-alpha.0

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago