eslint-config-standard-ts
An extension of eslint-config-standard, made for TypeScript.
Last updated 2 months ago by zce .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-standard-ts 
SYNC missed versions from official npm registry.

eslint-config-standard-ts

License NPM Downloads NPM Version Dependency Status devDependency Status Code Style

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

Installation

$ npm install eslint eslint-config-standard-ts --save-dev

# or yarn
$ yarn add eslint eslint-config-standard-ts -dev

Usage

in your eslint config

// .eslintrc.js
module.exports = {
  extends: 'standard-ts',
  parserOptions: {
    project: './tsconfig.json'
  }
}

Motivation

Due to a known limitation in ESLint. Many ESLint shareable config require a large number of peer dependencies. This leads to many inconveniences for developers to use.

My idea is to ignore these problems ????, and rely install these peer dependencies directly.

So this module is just a dependencies wrapper, internal use of eslint-config-standard-with-typescript and its peer dependencies.

Contributing

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. Submit a Pull Request so that we can review your changes.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

MIT © zce

Current Tags

  • 18.0.2                                ...           latest (2 months ago)

2 Versions

  • 18.0.2                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 19
This Month 45
Last Day 1
Last Week 11
Last Month 52
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |