Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kristijorgji/eslint-config-typescript
https://github.com/kristijorgji/eslint-config-typescript
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kristijorgji/eslint-config-typescript
- Owner: kristijorgji
- License: mit
- Created: 2022-06-17T14:25:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T16:25:35.000Z (over 2 years ago)
- Last Synced: 2023-03-03T21:22:07.324Z (almost 2 years ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @kristijorgji/eslint-config-typescript
Eslint and prettier rules for general purpose typescript projects.
If you want rules specific for React/NextJS or other frameworks have to enrich these rules after including.## Usage
### Install deps
Install the correct versions of each package, which are listed by the command:
```shell
yarn add --dev @kristijorgji/eslint-config-typescript@latest
```If you are migrating old service to new plugin first please make sure to first remove old dependencies that are duplicates like example `yarn remove eslint prettier @typescript-eslint/eslint-plugin etc`
### Config
Add the following to your `.eslintrc.js`:
```js
module.exports = {
extends: ['@kristijorgji/eslint-config-typescript'],
};```
## Develop
More info on how to develop your custom eslint config can be found here: https://eslint.org/docs/developer-guide/shareable-configsTo develop locally you can install with `yarn add --dev pathtolocalfile` example
`yarn add --dev /Users/kristi.jorgji/Desktop/fl-lite/eslint-config-typescript`
You need to run the above command after every plugin change.
## License[MIT](LICENSE)