From 0a1c8176383567f9aecf31edcab11cce145a031b Mon Sep 17 00:00:00 2001 From: Aleksandr Nekrashevich Date: Thu, 15 Sep 2022 23:34:09 +0300 Subject: [PATCH] remove prettier --- .prettierignore | 2 -- .prettierrc | 7 ------- package.json | 6 +++--- 3 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 .prettierignore delete mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 76add87..0000000 --- a/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -dist \ No newline at end of file diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index c6a16aa..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "endOfLine": "lf", - "arrowParens": "always", - "useTabs": true, - "tabWidth": 4, - "semi": true -} diff --git a/package.json b/package.json index 8b8414e..cf056ee 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "lint": "eslint . --ext .ts && yarn prettier --write .", + "lint": "npx eslint . --ext .ts", + "lint:fix": "npx eslint . --ext .ts --fix", "start": "npx tsc && npm link && npx create-web3-dapp" }, "bin": { @@ -31,8 +32,7 @@ "@typescript-eslint/eslint-plugin": "^5.32.0", "@typescript-eslint/parser": "^5.32.0", "eslint": "^8.21.0", - "eslint-config-next": "12.2.3", - "prettier": "^2.7.1" + "eslint-config-next": "12.2.3" }, "type": "module", "dependencies": {