https://github.com/chrisdothtml/eslint-config
My personal linting preferences
https://github.com/chrisdothtml/eslint-config
Last synced: 3 months ago
JSON representation
My personal linting preferences
- Host: GitHub
- URL: https://github.com/chrisdothtml/eslint-config
- Owner: chrisdothtml
- License: mit
- Created: 2019-04-04T05:46:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T22:34:54.000Z (almost 6 years ago)
- Last Synced: 2025-06-10T23:07:48.363Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @chrisdothtml/eslint-config
[](https://github.com/chrisdothtml/eslint-config)
> My personal linting preferences
Mostly based on Standard JS. Not made to be inherited by other eslint configs. Made to be a simple install that includes prettier and easily integrates with [vscode-eslint](https://github.com/Microsoft/vscode-eslint)
## Use
```sh
yarn add --dev eslint @chrisdothtml/eslint-config &&\
printf '{\n "root": true,\n "extends": "@chrisdothtml"\n}\n' > .eslintrc
```
### Configure vscode
**.vscode/extensions.json**
```jsonc
{
"recommendations": [
"dbaeumer.vscode-eslint",
],
}
```
**.vscode/settings.json**
```jsonc
{
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
// required for autoFix to work in markdown files
{ "language": "markdown", "autoFix": true },
],
"javascript.format.enable": false,
"javascript.validate.enable": false,
}
```
## Badge
```md
[](https://github.com/chrisdothtml/eslint-config)
```