Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stylelint-config-anfema

anfema28MIT6.1.0

Linting rules for anfema's CSS and SCSS styles

stylelint, stylelint-config, anfema

readme

stylelint-config-anfema

Linting rules for anfema's CSS and SCSS styles

Use with stylelint.

Installation

Packages to install: stylelint stylelint-order stylelint-config-anfema.

Install with yarn or npm, locally or globally.

Usage

Default

In your .styelintrc.js:

module.exports = {
    extends: 'stylelint-config-anfema',
}

Credits

changelog

Changelog

6.1.0

  • Updated peer dependencies

6.0.2

  • Add .prettierrc to the project
  • Modify indentation rule to increase Prettier compatibility

6.0.1

  • Disable value-list-comma-newline-after to increase Prettier compatibility

6.0.0

  • Use lowercase Hex colors to match Prettier print

5.0.0

  • Added rules for CSS Grids

4.4.3

  • Updated peer dependencies

4.4.2

  • Fix: Error in rules definition

4.4.1

  • Updated README

4.4.0

4.3.1

  • Removed Deprecation Warning: "order/declaration-block-properties-specified-order" has been removed in 0.4. Instead use "order/properties-order" rule.

4.3.0

  • Updated stylelint-order

4.2.0

  • Updated max-line-length rule to support inline svg images

4.1.0

  • Updated dependencies
  • Updated peer dependencies

4.0.0

  • Updated ordering
  • Used proper version for peerDependency stylelint-order

3.0.0

  • Fixed deprecations
  • Enabled rule-empty-line-before

2.0.0

  • Updated peer dependency to stylelint@~7.8.0
  • Closer specified version to install in README
  • Switched from double quotes to single quotes to make embedding SVG easier
  • Added order for text-decoration

1.2.0

1.1.0

  • Added changelog
  • Removed deprecated rules:
    • block-no-single-line
    • no-indistinguishable-colors
    • stylelint-disable-reason
    • declaration-block-no-ignored-properties
  • Added stylelint-order plugin
  • Added rules:
    • rule-empty-line-before

1.0.2

  • Cleaned up package

1.0.1

  • Added eslint to check config

1.0.0

  • Initial release