Skip to content

Commit c52713f

Browse files
committed
style: Change prettier to be managed by eslint
1 parent 8e6ef35 commit c52713f

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

eslint.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,7 @@ export default [
5858
},
5959
],
6060

61-
'prettier/prettier': [
62-
'error',
63-
{
64-
endOfLine: 'lf',
65-
semi: true,
66-
},
67-
],
61+
'prettier/prettier': ['error'],
6862
},
6963
},
7064
];

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"license": "UNLICENSED",
88
"scripts": {
99
"lint": "eslint",
10-
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix --ext .",
11-
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
10+
"lint:fix": "eslint --fix",
1211
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
1312
"entity:sync": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts schema:sync",
1413
"entity:drop": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d bin/ormconfig.ts schema:drop",

0 commit comments

Comments
 (0)