All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Allow selector attributes with or without quotes
7.0.0 - 2024-03-24
- Support for webc, liquid and nunjucks
- Updated stylelint to version v16
- stylelint-config-html for our own solution with more html syntaxes
6.0.2 - 2023-08-10
- Unset rule
media-feature-range-notation
, closes #47 until support for media range is at a minimal of 2 mayor browser versions
6.0.1 - 2023-08-10
- Support for camelCase in custom media query names
- Support for camelCase in custom properties in all languages, not just Astro
- 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
- added back rule to ignore value case in variables named
- Support for private custom properties, e.g.
--_custom
camelCaseSvgKeywords
invalue-keyword-case
rule to match previous versions, also the lower case version should be used as per CSS4 Color spec, e.g.currentcolor
6.0.0 - 2023-08-08
- Support for Astro and Svelte
- Better tests for each specific language difference compared to our default rules
- 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 own rules in
./rules/scss.js
- Dropped node 14 support, node 16 or higher is now required
- The import options for
scss
andtailwind
, 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
5.0.3 - 2023-02-05
- Set
color-function-notation
, tomodern
, closes #36
- peerDependencies
5.0.2 - 2022-12-31
stylelint-ignore
to ignorePattern formax-line-length
- Small docs issues
value-no-vendor-prefix
add missing ignores from stylelint-config-standard
5.0.1 - 2022-11-28
- Line length rule on Tailwind by unsetting it
5.0.0 - 2022-11-27
- Support for Tailwind specific syntax, with new extend option
- Support for inline styles with
stylelint-config-html
- 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
4.2.1 - 2022-11-24
- Updated stylelint to version 14.14
- Unset
import-notation
, respects the import syntax for both cases
4.2.0 - 2022-08-16
- Updated stylelint to version 14.10
- Set
hue-degree-notation
to number
4.1.1 - 2022-04-12
- Enable
no-invalid-position-at-import-rule
for SCSS with@use
and@forward
support
- Unset
function-no-unknown
for sass This does not play wel with namespaced@use
's
4.1.0 - 2022-04-12
- Updated stylelint to version 14.6
- Allow 1 ID selector in your CSS, there are cases that work best with id's, just keep the limit to 1 selector, but there should never be a case where you need to 2 (or more) id's in 1 CSS selector.
4.0.1 - 2021-11-08
- Unset
custom-property-pattern
for scss - Unset
scss/no-global-function-names
and fixed issue with native min and max - Unset
color-function-notation
for SCSS based rgba color - Allow css modifier classes
4.0.0 - 2021-11-08
- Unset
alpha-value-notation
rule set by stylelint-config-standard until fixed - syntax support to scss rules
- rule
scss/declaration-nested-properties-no-divided-groups
- rule
scss/no-duplicate-mixins
- warning rule
scss/no-global-function-names
- Updated stylelint to version 14 and dropped support for version 13
- LessCSS specific syntax support
- Rules now part of recommend rules
font-family-name-quotes
function-url-quotes
media-feature-name-no-vendor-prefix
no-empty-first-line
selector-attribute-quotes
selector-no-vendor-prefix
shorthand-property-no-redundant-values
string-quotes
3.5.1 - 2021-08-23
- Workflow and tests
- sass conflict with
@use
and@import
order
3.5.0 - 2021-08-06
- Dependabot
- Changelog is now using the keepachangelog syntax
- Updated stylelint, stylelint-config-standard and stylelint-scss
- selector-max-universal by allowing 2 for using the magic margin rule,
* + *
.
3.4.0 - 2021-03-09
@screen
to at-rule-no-unknown for Tailwind support
- Update dependencies and drop older stylelint support
3.3.0 - 2021-01-02
- Allow @use, @forward without line break between
- Update dependencies
3.2.3 - 2020-11-30
- Opening-brace multiline if else in scss
3.2.0 - 2020-05-13
- Ignore for mq's with specific values
- Rule dollar-variable-first-in-block
3.1.0 - 2020-05-10
- Rule comment-no-empty
- Rule dollar-variable-first-in-block
- Update dependencies
3.0.2 - 2019-12-27
- More ignore rules to property-no-vendor-prefix.
3.0.1 - 2019-12-10
- Unset
declaration-colon-newline-after
, works better with Prettier and does not always makes sense anyway. So giving freedom to the dev.
3.0.0 - 2019-11-17
- stylelint-config-standard as dependencies to simplify our own rules
- Update stylelint-scss to v3.12
- Cleanup LESS rules
- Improved rules for better compatibility with other stylelint-configs and prettier
- SCSS ignoreAtRules, fixed in stylelint-scss v3.12
- Rules that are the same as stylelint-config-standard
2.2.8 - 2019-10-02
- scss ignoreAtRules for
@use
and@forward
to support the new sass modules
- Set scss/operator-no-unspaced to null to support the new sass modules.
2.2.7 - 2019-10-02
- Lower rule strength of scss @media use vars, to work easier with native css
2.2.6 - 2019-08-31
- Updated dependencies
2.2.5 - 2019-08-11
- Issue with variables and font family stacks
2.2.4 - 2019-07-26
- Changelog date format to ISO standard
- Make at-rule-empty-line-before less strict, via swap
- "inside-block" should be ignored
- "first-nested" should be except
2.2.3 - 2019-06-17
- Set scss/operator-no-newline-after to null
This rule caused issues with the background shorthand
position size separator
/
. Also in JS and other languages it is common to split long lines after operators.
2.2.2 - 2019-05-19
- Git URL Changed
- Docs
- Updated dependencies
2.2.0 - 2019-04-14
- Title to changelog
- Set indentation rule to 4 Originally wanted this done via the editorconfig instead, but chose to set this. As this fixes issue with the VSCode plugin and the cli cmd.
2.1.0 - 2019-03-12
- Make selector-no-qualifying-type less strict by allowing classes
- Font-weight-notation rule This rule give issues with some style cases and scss functions like nth
2.0.0 - 2019-02-22
- SCSS plugin as dependency
- LESS Rules
- Less Doc
- Order doc
- Main stylelint-config rules → See readme what is include
- Main Doc
- Stylelint version in pkg
1.0.4 - 2019-01-06
- Lockfile
- PeerDep version
1.0.3 - 2019-01-03
- Editorconfig indent rule for index.js stylelint-config
- Rule selector-max-type, missing ignore rules
1.0.2 - 2018-12-30
- New rules to editorconfig
- gitignore
- package.json add empty scripts
Initial release 🎉