Skip to content

Releases: twinscom/stylelint-config

v15.0.0 - Stylelint 16

09 Jun 15:42
Compare
Choose a tag to compare

v14.0.0 - Remove Prettier

23 Nov 19:29
Compare
Choose a tag to compare

@twinscom/stylelint-config remains compatible with default Prettier options,
but now it is recommended to run Prettier separately.

I recommend this Prettier config to format as many file types as possible:
https://github.com/EvgenyOrekhov/prettier-config

v13.1.0 - CSS-in-JS

22 Nov 20:52
Compare
Choose a tag to compare

Add config for CSS-in-JS (styled-components/Emotion).

Same as SCSS, but for *.{j,t}sx files.

{
  "extends": ["@twinscom/stylelint-config/css-in-js"]
}
stylelint '**/*.tsx'

Note: // comments are not supported in CSS code, use /* */.

v13.0.0

12 Nov 22:04
Compare
Choose a tag to compare

Enforce percentages for opacity

v12.0.3

12 Nov 21:52
Compare
Choose a tag to compare

Allow 0.75rem spacing

v12.0.2

12 Nov 21:45
Compare
Choose a tag to compare

Allow 0.25rem radius

v12.0.1

12 Nov 21:45
Compare
Choose a tag to compare

Allow overflow-x, overflow-y

overflow-inline and overflow-block browser support is very poor:

Allow -1000rem, 0.25rem spacing

  • -1000rem is needed for visually hidden elements (for accessibility)
  • 0.25rem is needed for small inline elements

v12.0.0

12 Nov 16:08
Compare
Choose a tag to compare

Major changes

Other changes

v11.0.1

11 Nov 23:58
Compare
Choose a tag to compare

Fix false warnings

v11.0.0

11 Nov 23:24
Compare
Choose a tag to compare

Major changes

@twinscom/stylelint-config/scss

  • Add more SCSS rules