1.3.2 • Published 3 years ago

@terminus/stylelint-config-frontend v1.3.2

Weekly downloads
34
License
MIT
Repository
github
Last release
3 years ago

CI/CD Status MIT License
NPM version Library size

A collection of SCSS lint rules for Terminus frontend codebases.

Table of Contents

Installation

yarn add stylelint @terminus/stylelint-config-frontend -D

Set up

1. Create the file and extend the base ruleset

Create a stylelint config file at the root level named stylelint.config.js and extend the base ruleset:

module.exports = {
  extends: '@terminus/stylelint-config-frontend',
}

2. Add a linting command to package.json

  • The --project flag reference should point to the primary app tsconfig file.
  • The --config flag reference should point to the ci tslint file.
{
  "name": "My Project",
  "scripts": {
    "lint:scss": "npx stylelint 'your/path/to/styles/**/*.scss'"
  }
}
1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago