@navinc/eslint-config-typescript

1.3.7 • Public • Published

@navinc/eslint-config-typescript

Nav's home for common ESLint+Prettier+Typescript configurations.

Getting Started

Install the package and all peer dependencies using the following command:

npx install-peerdeps @navinc/eslint-config-typescript --dev

Usage

Add the following to your .eslintrc file:

{
  ...
  "extends": "@navinc/eslint-config-typescript",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
  ...
}

Create a .prettierrc.js file with the following:

module.exports = {
  ...require("@navinc/eslint-config-typescript/prettier.js")
};

/@navinc/eslint-config-typescript/

    Package Sidebar

    Install

    npm i @navinc/eslint-config-typescript

    Weekly Downloads

    21

    Version

    1.3.7

    License

    UNLICENSED

    Unpacked Size

    4.34 kB

    Total Files

    6

    Last publish

    Collaborators

    • uniqname
    • cshellnav
    • lbachman
    • mpoulson
    • karenposada
    • castengo
    • ammonlockwood
    • chawboo
    • dangerbarber
    • dlewallen
    • smeffordnav
    • serenanav
    • tnegro
    • frontend-nav