https://github.com/droidxrx/eslint-config-nodets
https://github.com/droidxrx/eslint-config-nodets
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/droidxrx/eslint-config-nodets
- Owner: droidxrx
- License: mit
- Created: 2021-09-10T11:31:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T16:19:56.000Z (about 3 years ago)
- Last Synced: 2025-03-07T12:48:31.242Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This my config ESLINT for TypeScript
> My personal config ESLINT for Node TypeScript
## Requirements
```json
{
"eslint": "^7.32.0 or latest",
"typescript": "^4.4.2 or latest"
}
```## Installation
```bash
npm install eslint-config-nodets -D
yarn add eslint-config-nodets -D
```## Usage
Add on `.eslintrc | .js | .json`
```json
{
"extends": "eslint-config-nodets",
"parserOptions": {
"project": "YOUR_TSCONFIG.json",
"ecmaVersion": 12,
"sourceType": "module"
}
}
```## VSCODE SETTINGS.JSON
```json
{
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
},
"eslint.format.enable": true
}
```## LICENSE
[MIT](LICENSE)