chore(ui): added ESLint configuration #81
Based on Prettier and StandardJS.
Option | Setting |
---|---|
Print Width |
80 (default) |
Tab Width | 2 |
Tabs |
spaces (default) |
Semicolons | nope |
Quotes | single '
|
Trailing Commas | all |
Bracket Spacing |
{ foo: bar } (default) |
JSX Brackets | example (default) |
Arrow Function Parentheses | always (x) => x
|
Setup in VSCode
- Install the ESLint extension
- Open VSCode settings and add the following:
{
"[javascript]": {
"editor.formatOnSave": false,
},
"[javascriptreact]": {
"editor.formatOnSave": false,
},
"eslint.autoFixOnSave": true
}
Todo
-
Solve all the linting issues (after merging !71 (merged))
Edited by Niels