Browse Source

style: add prettier configuration

dependabot/npm_and_yarn/semver-5.7.2
Abheek Dhawan 2 years ago
parent
commit
b1c6286c19
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 6
      .prettierrc
  2. 3
      package.json

6
.prettierrc

@ -0,0 +1,6 @@
{
"singleQuote": false,
"semi": true,
"endOfLine": "lf",
"trailingComma": "es5"
}

3
package.json

@ -20,7 +20,8 @@
"version": "4.7.6", "version": "4.7.6",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx" "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"fmt": "prettier --config .prettierrc './**/*.ts' --write"
}, },
"keywords": [ "keywords": [
"discord", "discord",

Loading…
Cancel
Save