1.1.1 • Published 5 years ago

@scalio-oss/scalio-linter v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Scal.io linter rules

This is collection of common tslint, prettier and stylelint configs used in scal.io

Installing linter

There are few super simple steps

  1. Install all dependencies

yarn add prettier stylelint stylelint-config-rational-order tslint tslint-config-prettier tslint-plugin-prettier

  1. Install this package

yarn add @scalio-oss/scalio-linter

  1. Update all config files

npx scalio-lint-install

  1. Add linting to package.json
...
"scripts": {
    ...
    "lint": "scalio-lint",
    ...
  1. Install related browser extensions

https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint

https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

Using linter

Just lint:

yarn lint

Lint and try to autofix:

yarn lint --fix

Contributing to linter

  1. Add your favourite linting rules to

src/${packageName}/install-${packageName}.ts

  1. Update this README.md
  2. Report bugs

Contact

You can ping me (Nikita Kolozv nikita@scal.io) wherever you want.

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