From 27fcd286e5d092354a346d6c056f2a2925796f30 Mon Sep 17 00:00:00 2001 From: John Darryl Pelingo Date: Sun, 3 Oct 2021 00:57:41 +0200 Subject: [PATCH] chore: remove tsx in config --- .lintstagedrc | 2 +- package.json | 6 +++--- yarn.lock | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.lintstagedrc b/.lintstagedrc index 8985f32..d42c0bc 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -2,7 +2,7 @@ "src/**/*.{js,ts}": [ "eslint --fix" ], - "*.{js,ts,tsx,json,yml,yaml,css,html}": [ + "*.{js,ts,json,yml,yaml,css,html}": [ "prettier --write" ] } diff --git a/package.json b/package.json index 9c84d26..d66108e 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "scripts": { "--DEVELOPMENT--": "echo \"--DEVELOPMENT--\" && exit 1", "dev": "ts-node-dev src/index.ts", - "format": "prettier --write 'src/**/*.{css,js,ts,tsx}' '**/*.md'", - "lint": "eslint ./src/ --ext .js,.ts,.tsx --max-warnings 0 --report-unused-disable-directives", + "format": "prettier --write 'src/**/*.{css,js,ts}' '**/*.md'", + "lint": "eslint ./src/ --ext .js,.ts --max-warnings 0 --report-unused-disable-directives", "postinstall": "husky install", "sweep": "rimraf build", "test": "exit 0", @@ -60,7 +60,7 @@ "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.24.2", - "husky": "7", + "husky": "^7.0.2", "lint-staged": "^11.1.2", "npm-run-all": "^4.1.5", "prettier": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index c6d3b3f..18ee973 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1655,7 +1655,7 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@7: +husky@^7.0.2: version "7.0.2" resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.2.tgz#21900da0f30199acca43a46c043c4ad84ae88dff" integrity sha512-8yKEWNX4z2YsofXAMT7KvA1g8p+GxtB1ffV8XtpAEGuXNAbCV5wdNKH+qTpw8SM9fh4aMPDR+yQuKfgnreyZlg==