https://github.com/obytes/eslint-config-obytes
Eslint Obytes Config
https://github.com/obytes/eslint-config-obytes
Last synced: 5 months ago
JSON representation
Eslint Obytes Config
- Host: GitHub
- URL: https://github.com/obytes/eslint-config-obytes
- Owner: obytes
- Created: 2019-02-28T15:09:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T16:41:25.000Z (over 4 years ago)
- Last Synced: 2025-02-01T02:29:12.314Z (over 1 year ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 4
- Watchers: 26
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config-obytes
## installation
Install the package with
`npm install eslint-config-obytes --save-dev`
or
`yarn add eslint-config-obytes -D`
## Eslint Setup
Now add the config to either the package.json:
```js
{
"eslintConfig": {
"extends": "obytes"
}
}
```
or to the .eslintrc or .eslintrc.js:
```js
{
"extends": "obytes"
}
```
> Make sure to remove the `.prettierrc` file since we're handling prettier inside the eslint config.
## Using VSCode
- Install VSCode [ESLint package](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- Setup some VS Code settings (Workspace)
```js
{
"editor.formatOnSave": true,
"javascript.format.enable": false,
"prettier.eslintIntegration": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"eslint.autoFixOnSave": true,
"prettier.disableLanguages": ["javascript", "javascriptreact"]
}
```