@pcode-at/eslint-config-typescript

0.0.6 • Public • Published

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

/@pcode-at/eslint-config-typescript/

    Package Sidebar

    Install

    npm i @pcode-at/eslint-config-typescript

    Weekly Downloads

    1

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    4.66 kB

    Total Files

    4

    Last publish

    Collaborators

    • bja-pcode
    • d-woegerbauer
    • pcode_at