@pixeloven-tooling/linter
@pixeloven-tooling/linter
npm i @pixeloven-tooling/linter
@pixeloven-tooling/linter

@pixeloven-tooling/linter

Framework for building React applications. Supports SSR, React 16 and webpack4

by pixeloven

6.4.0 (see all)License:MITTypeScript:Not Found
npm i @pixeloven-tooling/linter
Readme

@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"
    ]
  }
}
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate