@inthepocket/eslint-config-ts

1.5.1 • Public • Published

@inthepocket/eslint-config-ts

This contains all ESLint rules to lint a basic TypeScript project.
It is important to note that this is a base configuration, thus not ment to implemented as is,
but to be used within your own ESLint configuration that requires TypeScript linting.

Usage

Install

npm i -D @inthepocket/eslint-config-ts

Configure ESLint

Within your package.json add the following:

{
  // You will most likely need more than just this
  "eslintConfig": {
    "extends": ["@inthepocket/eslint-config-ts"]
  }
}

Add Lint script

{
  "scripts": {
    "lint": "eslint '**/*.{js,jsx,ts,tsx}'"
  }
}

/@inthepocket/eslint-config-ts/

    Package Sidebar

    Install

    npm i @inthepocket/eslint-config-ts

    Weekly Downloads

    32

    Version

    1.5.1

    License

    MIT

    Unpacked Size

    4 kB

    Total Files

    4

    Last publish

    Collaborators

    • sieem
    • lode.vanhove
    • moutpessemier
    • stijnv
    • robrechtme
    • klukies
    • eliaslecomte
    • gertjanreynaert
    • itpit
    • thibmaek
    • brecht
    • jonasdegeest
    • kevinmeyvaert
    • tmons