Skip to content

Commit 0aa0c0b

Browse files
committed
Chores: Prettier fixed
1 parent 62f08b2 commit 0aa0c0b

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.eslintrc.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
"node": true,
44
"es2021": true
55
},
6-
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
6+
"extends": [
7+
"plugin:@typescript-eslint/recommended",
8+
"prettier"
9+
// "plugin:prettier/recommended"
10+
],
711
"parser": "@typescript-eslint/parser",
812
"parserOptions": {
913
"ecmaVersion": "latest",

.prettierrc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"semi": true,
3-
"tabWidth": 2,
43
"endOfLine": "lf",
5-
"printWidth": 120,
6-
"trailingComma": "none"
4+
"printWidth": 100,
5+
"trailingComma": "es5",
6+
"bracketSameLine": true
77
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
"build": "tsc",
88
"start": "node ./dist/server.js",
99
"dev": "nodemon --exec ts-node src/server.ts",
10+
"format:check": "prettier --check .",
11+
"format:write": "prettier --write .",
1012
"lint": "eslint . --ext .ts",
11-
"lint:fix": "eslint . --fix"
13+
"lint:fix": "eslint . --ext .ts --fix"
1214
},
1315
"author": "\"Ismail Tijani\"",
1416
"license": "ISC",

0 commit comments

Comments
 (0)