Lints JavaScript/TypeScript/Code.


Keywords
eslint, javascript, linter, prettier, xo
License
MIT
Install
npm install @patrickhulce/lint@3.0.2

Documentation

@patrickhulce/lint

NPM Package Build Status Commitizen friendly Dependencies

Lints JavaScript and TypeScript.

Usage

lint # lints default js+ts in src/lib/bin and test files
lint --fix # lints, fixes, and prettifies default files
lint --fix --no-prettify # lints and fixes default files
lint -t react # lints jsx in src/lib/bin and test files
lint -t typescript './stuff/**/*.ts' # lints ts in ./stuff