https://github.com/dougsoftware/eslint-config
https://github.com/dougsoftware/eslint-config
npm npm-package
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dougsoftware/eslint-config
- Owner: dougsoftware
- Created: 2023-10-29T17:03:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-25T17:12:57.000Z (over 2 years ago)
- Last Synced: 2025-06-08T16:09:20.594Z (about 1 year ago)
- Topics: npm, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@douglasmatosdev/eslint-config
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config
## Requirements
- node `>=18.17.0`
- VSCode
- [Install ESLint VSCode Extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- Go to: `File -> Preferences -> Settings -> Open Setting (JSON)` set the code below
```json
// VSCode JSON Settings
"eslint.workingDirectories": [
"src",
"app",
],
```
## Installation
```bash
yarn add -D @douglasmatosdev/eslint-config
```
## Setup
Add in your `package.json` below settings
```json
// package.json
"prettier": "@douglasmatosdev/eslint-config/prettier",
"eslintConfig": {
"extends": "@douglasmatosdev/eslint-config/eslint"
}
```
Add in your `.eslintrc.json` beloow settings
```json
// .eslitrc.json
{
"extends": ["next/core-web-vitals", "@douglasmatosdev/eslint-config/eslint"]
}
```
> ## Obs.: Reload VSCode