/stylelint-config-immowelt

Centralized stylelint standards for immowelt

Primary LanguageJavaScriptMIT LicenseMIT

@immowelt/stylelint-config-immowelt

Powered by Immowelt Build Status semantic-release

Usage

Add it to your dependencies.

yarn add --dev @immowelt/stylelint-config-immowelt

Use it in your StyleLint settings.

{
  "extends": "@immowelt/stylelint-config-immowelt"
}

Extension

You may also want to use @mapbox/stylelint-processor-arbitrary-tags for checking CSS inside XML like files (like HTML). That will result in an package.json like:

{
  "scripts": {
    "test:scss-lint": "stylelint --syntax scss \"src/**/*.{scss,vue}\"",
    "test:scss-lint:fix": "npm run test:scss-lint -- --fix"
  },
  "devDependencies": {
    "@immowelt/stylelint-config-immowelt": "^2.2.0",
    "@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0"
  },
  "stylelint": {
    "extends": "@immowelt/stylelint-config-immowelt",
    "processors": ["@mapbox/stylelint-processor-arbitrary-tags"]
  }
}

Linting Bundle

License

See the LICENSE file at the root of the repository.