eslint-config-arista-ts

2.0.1 • Public • Published

eslint-config-arista-ts

Arista's eslint config for TypeScript code.

Usage

Create an .eslintrc.json file in your project with something similar to the following:

{
  "files": ["**/*.ts"],
  "extends": ["arista-ts"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
},

and add "eslint-config-arista-ts": "<VERSION>" to your package.json devDependencies.

This config should be applied only to .ts and .tsx files.

Package Sidebar

Install

npm i eslint-config-arista-ts

Weekly Downloads

26

Version

2.0.1

License

MIT

Unpacked Size

29.1 kB

Total Files

6

Last publish

Collaborators

  • rufman