1.3.2 • Published 4 years ago

@terminus/stylelint-config-frontend v1.3.2

Weekly downloads
34
License
MIT
Repository
github
Last release
4 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

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago