JSPM

  • Created
  • Published
  • Downloads 755825
  • Score
    100M100P100Q65979F
  • License MIT

An ESLint Shareable Config for JavaScript Standard Style with TypeScript support

Package Exports

  • eslint-config-standard-with-typescript

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-standard-with-typescript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build Status JavaScript Style Guide Greenkeeper badge

eslint-config-standard-with-typescript

An extension of eslint-config-standard, made for TypeScript.

Usage

npm i --save-dev eslint-config-standard-with-typescript

Install the peer dependencies of eslint-config-standard.

Configure your ESLint configuration to extend from this one.

Also, you probably should use typescript-eslint-parser as ESLint’s parser.

Warning about filename extensions

By default, ESLint v4 reads .js files. The only way to specify other extensions is by using the --ext command line option. So make sure you do that so that your TypeScript files will be linted.