0.0.6 • Published 3 years ago

@pcode-at/eslint-config-typescript v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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.