2.2.6 • Published 6 months ago

@jterrazz/quality v2.2.6

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Code Standards

This package provides ESLint and Prettier configurations for TypeScript projects, along with a convenient code-standards command to run all quality checks in parallel.

Installation

Install the package using npm:

npm install @jterrazz/quality --save-dev

Usage

  1. Create an ESLint configuration file (e.g., eslint.config.js) in your project root:
// eslint.config.js
import { eslintConfig } from '@jterrazz/quality';

export default eslintConfig;
  1. Create a Prettier configuration file (e.g., prettier.config.js) in your project root:
// prettier.config.js
import { prettierConfig } from '@jterrazz/quality';

export default prettierConfig;
  1. Add the following script to your package.json:
{
  "scripts": {
    "lint": "code-standards"
  }
}
  1. You can now run all quality checks in parallel using:
npm run lint

This will run:

  • TypeScript type checking (tsc --noEmit)
  • ESLint code quality checks (eslint . --ext .ts,.tsx)
  • Prettier style checks (prettier . --check)

All checks run in parallel and provide a clear summary of the results.

Happy linting! 🚀

2.2.6

6 months ago

2.2.5

6 months ago

2.2.4

6 months ago

2.2.3

6 months ago

2.2.2

6 months ago

2.2.1

6 months ago

2.2.0

6 months ago

2.1.1

7 months ago

2.1.0

7 months ago

2.0.3

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.6.1

8 months ago

1.6.0

8 months ago