Closed bowenjw closed 1 year ago
Added new rules to a line git and Eslint
semi - Require or disallow semicolons instead of ASI key-spacing - Enforce consistent spacing between keys and values in object literal properties
{ "semi" : ["error", "always"], "key-spacing": ["error", { "beforeColon": false, "afterColon": true, "mode": "strict" }] }
Added setting to reduce number of eslint fixes
files.eol - The default end of line character. editor.tabSize - The number of spaces a tab is equal to editor.insertSpaces - Insert spaces when pressing Tab
files.eol
editor.tabSize
editor.insertSpaces
Tab
{ "files.eol": "\n", "editor.tabSize": 4, "editor.insertSpaces": false }
Fixes issue with git changing LF to CRLF
LF
CRLF
* text eol=lf
Fixed client test three failing not finding directory
Eslint Rules
Added new rules to a line git and Eslint
semi - Require or disallow semicolons instead of ASI key-spacing - Enforce consistent spacing between keys and values in object literal properties
Vscode settings
Added setting to reduce number of eslint fixes
files.eol
- The default end of line character.editor.tabSize
- The number of spaces a tab is equal toeditor.insertSpaces
- Insert spaces when pressingTab
.gitattributes
Fixes issue with git changing
LF
toCRLF
Testing Fix
Fixed client test three failing not finding directory