eslint-config-standard-ts
v21.0.0
Published
An extension of eslint-config-standard, made for TypeScript.
Downloads
51
Maintainers
Readme
eslint-config-standard-ts
An extension of eslint-config-standard without peer dependencies, 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'
}
}
Example command line usage for ESLint v7:
$ npx eslint .
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 install these peer dependencies directly.
Because I think these problems no longer exist in modern npm.
So this module is just a dependencies wrapper, internal use of eslint-config-standard-with-typescript and its peer dependencies.
Related
- zce/eslint-config-standardx - An extension of eslint-config-standard without peer dependencies, made for JavaScript.
Contributing
- Fork it on GitHub!
- Clone the fork to your own machine.
- Checkout your feature branch:
git checkout -b my-awesome-feature
- Commit your changes to your own branch:
git commit -am 'Add some feature'
- Push your work back up to your fork:
git push -u origin my-awesome-feature
- 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!