-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add backend prettier for format (#485)
- Loading branch information
Showing
25 changed files
with
3,997 additions
and
2,135 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
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
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
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 |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 2020 | ||
}, | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
}, | ||
"rules": { | ||
"array-bracket-newline": "error", | ||
"camelcase": "error", | ||
"no-constant-binary-expression": "error", | ||
"no-duplicate-imports": "error", | ||
"no-self-compare": "error", | ||
"no-unreachable": "warn", | ||
"no-unreachable-loop": "warn", | ||
"block-scoped-var": "error", | ||
"class-methods-use-this": [ | ||
"error", | ||
{ | ||
"enforceForClassFields": false | ||
} | ||
], | ||
"curly": "error", | ||
"default-case": "error", | ||
"default-case-last": "error", | ||
"default-param-last": ["error"], | ||
"dot-notation": [ | ||
"error", | ||
{ | ||
"allowKeywords": true | ||
} | ||
], | ||
"eqeqeq": ["warn", "smart"], | ||
"func-style": [ | ||
"error", | ||
"declaration", | ||
{ | ||
"allowArrowFunctions": true | ||
} | ||
], | ||
"max-classes-per-file": "error", | ||
"max-depth": "warn", | ||
"max-len": [ | ||
"warn", | ||
{ | ||
"ignoreStrings": true, | ||
"ignoreTemplateLiterals": true, | ||
"code": 100 | ||
} | ||
], | ||
"max-statements-per-line": "warn", | ||
"no-confusing-arrow": "error", | ||
"no-empty-function": "error", | ||
"no-eq-null": "error", | ||
"no-extra-bind": "error", | ||
"no-implicit-coercion": "error", | ||
"no-invalid-this": "error", | ||
"no-lonely-if": "warn", | ||
"no-loop-func": "error", | ||
"no-unused-expressions": [ | ||
"error", | ||
{ | ||
"allowShortCircuit": true, | ||
"allowTernary": true, | ||
"enforceForJSX": true | ||
} | ||
], | ||
"no-use-before-define": [ | ||
"error", | ||
{ | ||
"allowNamedExports": true | ||
} | ||
], | ||
"no-useless-concat": "error", | ||
"no-useless-constructor": "warn", | ||
"no-useless-return": "warn", | ||
"no-var": "error", | ||
"no-template-curly-in-string": "warn", | ||
"one-var-declaration-per-line": ["error", "initializations"], | ||
"prefer-arrow-callback": "warn", | ||
"prefer-const": "warn" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
cd server && npx lint-staged |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"bracketSameLine": false, | ||
"endOfLine": "lf", | ||
"editorconfig": true | ||
} |
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
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
Oops, something went wrong.
b3bd24d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
whisper – ./
whisper-dun-sin.vercel.app
anon-chat-app.vercel.app
whischat.vercel.app
whisper-git-main-dun-sin.vercel.app