@navinc/eslint-config-typescript

1.3.6 • 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")
};

Readme

Keywords

none

Package Sidebar

Install

npm i @navinc/eslint-config-typescript

Weekly Downloads

52

Version

1.3.6

License

UNLICENSED

Unpacked Size

4.23 kB

Total Files

6

Last publish

Collaborators

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