Skip to content

Instantly share code, notes, and snippets.

@skydiver
Last active January 21, 2020 02:53
Show Gist options
  • Save skydiver/ed79457bfa77f747851f937c14ff75ea to your computer and use it in GitHub Desktop.
Save skydiver/ed79457bfa77f747851f937c14ff75ea to your computer and use it in GitHub Desktop.
WesBos eslint + personal
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = true
{
"extends": [
"wesbos"
]
}
{
"files.associations": {
"*.js": "javascriptreact"
},
"eslint.validate": [
"javascript",
"javascriptreact"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
@skydiver
Copy link
Author

npx install-peerdeps --dev eslint-config-wesbos

@skydiver
Copy link
Author

skydiver commented Apr 15, 2019

wget https://gist.githubusercontent.com/skydiver/ed79457bfa77f747851f937c14ff75ea/raw/.editorconfig &&
wget https://gist.githubusercontent.com/skydiver/ed79457bfa77f747851f937c14ff75ea/raw/.eslintrc &&
wget https://www.gitignore.io/api/node && mv node .gitignore &&
mkdir .vscode &&
wget -O .vscode/settings.json https://gist.githubusercontent.com/skydiver/ed79457bfa77f747851f937c14ff75ea/raw/settings.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment