Skip to content

Releases: fylgja/stylelint-config

v7.0.0

24 Mar 21:18
Compare
Choose a tag to compare

Added

  • Support for webc, liquid and nunjucks

Changed

  • Updated stylelint to version v16

Removed

Full Changelog: 6.0.2...7.0.0

v6.0.2

10 Aug 20:52
Compare
Choose a tag to compare

Fixed

  • Unset rule media-feature-range-notation, closes #47
    until support for media range is at a minimal of 2 mayor browser versions

Full Changelog: 6.0.1...6.0.2

v6.0.1

10 Aug 16:56
Compare
Choose a tag to compare

Added

  • Support for camelCase in custom media query names
  • Support for camelCase in custom properties in all languages, not just Astro

Fixed

  • scss rules conflicting with our Fylgja styleguide
    • dollar variables should be allowed after a comment
    • double slash comments should be allow between properties
  • Broke the value-keyword-case rule compare to previous versions, for font family names
    • added back rule to ignore value case in variables named family
    • added rule to ignore value case in functions named local(), used in @font-face
  • Support for private custom properties, e.g. --_custom

Removed

  • camelCaseSvgKeywords in value-keyword-case rule to match previous versions,
    also the lower case version should be used as per CSS4 Color spec, e.g. currentcolor

Full Changelog: 6.0.0...6.0.1

v6.0.0

08 Aug 18:10
Compare
Choose a tag to compare

Added

  • Support for Astro and Svelte
  • Better tests for each specific language difference compared to our default rules

Changed

  • Updated stylelint to version v15, closes #39,
    this update droppes stylistic rules that are deprecated by stylelint
  • Updated the and cleaned the rules for TailwindCSS and Vue
  • Replaced our own defaults for Scss with stylelint-config-standard-scss
    • This makes it easier maintain this part of our own rules
    • The defaults are more inline with ours compared to a few years ago
    • We still have some rules set in our onw rules in ./rules/scss.js
  • Dropped node 14 support, node 16 or higher is now required

Removed

  • The import options for scss and tailwind, in favour for 1 import
    • This import will check the file type and use the right syntax
    • This removes the need to import the right config for a specific language

Full Changelog: 5.0.3...6.0.0

v5.0.3

05 Feb 14:43
Compare
Choose a tag to compare

Changed

  • Set color-function-notation, to modern, closes #36

Fixed

  • peerDependencies

Full Changelog: 5.0.2...5.0.3

v5.0.2

31 Dec 23:43
f951b77
Compare
Choose a tag to compare

Added

  • stylelint-ignore to ignorePattern for max-line-length

Fixed

Full Changelog: 5.0.1...5.0.2

v5.0.1

28 Nov 13:21
e1d6359
Compare
Choose a tag to compare

Fixed

  • Line length rule on Tailwind by unsetting it

New Contributors

Full Changelog: 5.0.0...5.0.1

v5.0.0

27 Nov 16:24
Compare
Choose a tag to compare

Added

  • Support for Tailwind specific syntax, with new extend option
  • Support for inline styles with stylelint-config-html

Changed

  • Split rules from export bundles,
    each rule is now in the rules folder and extended in the options offered in the root of this project,
    It is now easier to build your own config based on these rules
  • Dropped at-rule-no-unknown for default

Full Changelog: 4.2.1...5.0.0

v4.2.1

24 Nov 18:21
Compare
Choose a tag to compare

Changed

  • Updated stylelint to version 14.14
  • Unset import-notation, respects the import syntax for both cases

Full Changelog: 4.2.0...4.2.1

v4.2.0

16 Aug 15:46
Compare
Choose a tag to compare

Changed

  • Updated stylelint to version 14.10
  • Set hue-degree-notation to number

Full Changelog: 4.1.1...4.2.0