JSPM

  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q64526F
  • License MIT

Arista's eslint config for TypeScript code

Package Exports

  • eslint-config-arista-ts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-arista-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.