Skip to content

Commit

Permalink
[Tech] Disable eslint during development, added options to editorconf…
Browse files Browse the repository at this point in the history
…ig (#1132)
  • Loading branch information
dawidgarus authored Mar 21, 2022
1 parent b1c08aa commit 2c32e79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
root = true

[*.css]
indent_style = space
charset = utf-8
end_of_line = lf
indent_size = 2

[*.js]
indent_style = space
indent_size = 2
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.ts]
indent_style = space
[{*.ts, *.tsx, *.js}]
charset = utf-8
end_of_line = lf
indent_size = 2

[*.tsx]
indent_style = space
indent_size = 2
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"tslib": "^2.3.1"
},
"scripts": {
"start": "nf start -p 3000 && electron-start",
"start": "DISABLE_ESLINT_PLUGIN=true nf start -p 3000 && electron-start",
"electron-start": "ELECTRON_IS_DEV=1 node public/start-react",
"electron": "yarn build-electron && electron . --trace-warnings",
"react-start": "HOST=localhost BROWSER=none react-scripts start",
Expand Down

0 comments on commit 2c32e79

Please sign in to comment.