https://github.com/eclass/eslint-config-typescript
eslint shareable config for typescript
https://github.com/eclass/eslint-config-typescript
eclass eslint eslint-config typescript
Last synced: 8 months ago
JSON representation
eslint shareable config for typescript
- Host: GitHub
- URL: https://github.com/eclass/eslint-config-typescript
- Owner: eclass
- License: mit
- Created: 2020-05-27T00:53:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T17:53:00.000Z (over 1 year ago)
- Last Synced: 2024-11-15T04:28:34.685Z (over 1 year ago)
- Topics: eclass, eslint, eslint-config, typescript
- Language: JavaScript
- Size: 781 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @eclass/eslint-config-typescript
[](https://www.npmjs.com/package/@eclass/eslint-config-typescript)

[](https://www.npmjs.com/package/@eclass/eslint-config-typescript)
[](https://david-dm.org/eclass/eslint-config-typescript)
[](https://david-dm.org/eclass/eslint-config-typescript?type=dev)
[](https://david-dm.org/eclass/eslint-config-typescript?type=peer)
> This package provides eclass eslint shareable config for typescript.
## Plugins and Configuration included
- [eslint-config-prettier](https://www.npmjs.com/package/eslint-config-prettier)
- [eslint-config-standard](https://www.npmjs.com/package/eslint-config-standard)
- [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)
- [eslint-plugin-node](https://www.npmjs.com/package/eslint-plugin-node)
- [eslint-plugin-prettier](https://www.npmjs.com/package/eslint-plugin-prettier)
- [eslint-plugin-promise](https://www.npmjs.com/package/eslint-plugin-promise)
- [@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin)
- [@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser)
## Installation
[Install](https://docs.npmjs.com/cli/install) [`eslint`](https://www.npmjs.com/package/eslint) and this package with [npm](https://docs.npmjs.com/about-npm/).
```
npm i -D eslint @eclass/eslint-config-typescript eslint-config-{prettier,standard} eslint-plugin-{array-func,eslint-comments,import,node,prettier,promise,security,sonarjs,standard} @typescript-eslint/{eslint-plugin,parser} prettier
```
Then add the following configuration to your project's [`package.json`](https://docs.npmjs.com/files/package.json).
```json
"eslintConfig": {
"extends": "@eclass/eslint-config-typescript"
}
```
### Enable type checking with typescript (slow)
```json
"eslintConfig": {
"extends": "@eclass/eslint-config-typescript/requiring-type-checking"
}
```
## License
[MIT](https://tldrlegal.com/license/mit-license)