Socket
Socket
Sign inDemoInstall

@scalio-oss/scalio-linter

Package Overview
Dependencies
359
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @scalio-oss/scalio-linter

Company wide linter for angular projects


Version published
Weekly downloads
1
Maintainers
6
Install size
35.2 kB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 12 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc