@pixeloven-tooling/linter

6.4.0 • Public • Published

@pixeloven-tooling/linter

Pixel Oven tooling linter

See our website PixelOven for more information or our issues board to report issues associated with this package.

Install

Using npm:

npm install --save-dev @pixeloven-tooling/linter

or using yarn:

yarn add --dev @pixeloven-tooling/linter

Usage

Note this package was originally created to encapsulate common dependencies and scripts used during the development of PixelOven. For a full public CLI experience please see our website pixeloven.

This simple package wraps tslint and stylelint and a few other dependencies used throughout our workflow. We often use this package side by side with lint-staged to help improve our code quality.

Example of usage in package.json

{
  "devDependencies": {
    "@pixeloven-tooling/linter": "6.2.0",
    "lint-staged": "10.0.7"
  },
  "scripts": {
    "lint": "yarn lint:ts && yarn lint:scss",
    "lint:ts": "pixeloven-linter ts src/**/*.{ts,tsx}",
    "lint:scss": "pixeloven-linter scss src/**/*.{scss}"
  },
  "lint-staged": {
    "src/**/*.{scss}": [
      "pixeloven-linter scss"
    ],
    "src/**/*.{ts,tsx}": [
      "pixeloven-linter ts"
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @pixeloven-tooling/linter

Weekly Downloads

1

Version

6.4.0

License

MIT

Unpacked Size

5.07 kB

Total Files

4

Last publish

Collaborators

  • briangeb