Skip to content

A shared ESLint configuration I use across my TypeScript projects.

License

Notifications You must be signed in to change notification settings

pcode-at/eslint-config-typescript

 
 

Repository files navigation

@pcode-at/eslint-config-typescript

based on @seancroach/eslint-config-typescript

Highlights

  • Enforces all the recommended TypeScript practices
  • Ensures your code adheres to the Prettier Style Guide
  • Lints your import statements to follow the best conventions
  • Applies best practices on ESLint directive comments such as /* eslint-disable */

Like many shared configurations, you could write all the configurations yourself, but why do that when it's already right here to use!

Installation

@pcode-at/eslint-config-typescript has a few peer dependencies that have to be downloaded alongside it:

Install @pcode-at/eslint-config-typescript and its peer dependencies through npm:

npm install --save-dev @pcode-at/eslint-config-typescript eslint prettier typescript

Usage

You can configure ESlint a variety of ways. We suggest to do a majority of your configurations from your package.json:

{
	"name": "my-new-project",
	"eslintConfig": {
		"extends": "@pcode-at/eslint-config-typescript"
	}
}

License

This package is available as open source under the terms of the MIT License.

About

A shared ESLint configuration I use across my TypeScript projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.9%
  • TypeScript 4.1%