forked from dcmjs-org/dcmjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(style): Update ESLint & Prettier. Modernize configs. Run Pre…
…ttier. (dcmjs-org#275) * chore: update eslint, prettier, modernize configs * chore: run prettier on whole codebase
- Loading branch information
1 parent
8e4bffd
commit c209047
Showing
57 changed files
with
1,753 additions
and
1,718 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"browser": true, | ||
"node": true, | ||
"es6": true, | ||
"jest": true | ||
}, | ||
|
||
"extends": [ | ||
"eslint:recommended" | ||
"eslint:recommended", | ||
"prettier" | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
4 | ||
] | ||
}, | ||
"parser": "babel-eslint" | ||
|
||
"parserOptions": { | ||
"ecmaVersion": 11, | ||
"sourceType": "module" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"tabWidth": 4, | ||
"semi": true | ||
"trailingComma": "none", | ||
"arrowParens": "avoid" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{ | ||
"editor.formatOnSave": true | ||
|
||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[javascript]": { | ||
"editor.tabSize": 4, | ||
"editor.formatOnSave": true | ||
}, | ||
} |
Oops, something went wrong.