Update eslintignore, package.json & tsconfig again
diff --git a/package.json b/package.json
index 33920d0..2bc01e5 100644
--- a/package.json
+++ b/package.json
@@ -27,10 +27,12 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
- "start": "node --experimental-json-modules dist/index.js",
- "dev": "rm -rf dist && tsc && node --experimental-json-modules dist/index.js",
+ "start": "node --experimental-json-modules --enable-source-maps dist/index.js",
+ "dev": "rm -rf dist && eslint . --fix && tsc && node --experimental-json-modules --enable-source-maps dist/index.js",
+ "force-dev": "rm -rf dist && eslint . --fix; tsc-suppress && node --experimental-json-modules --enable-source-maps dist/index.js",
"lint": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint .; echo 'To auto-fix everything possible, please run `yarn lint-fix`'; true",
- "lint-fix": "echo 'Fixing eslint issues...'; eslint . --fix; echo 'Reformatting...'; prettier --write --loglevel warn ."
+ "lint-fix": "echo 'Fixing eslint issues...'; eslint . --fix; echo 'Reformatting...'; prettier --write --loglevel warn --cache .; true",
+ "lint-list": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint .; echo 'To view erors in more detail, please run `yarn lint`; true"
},
"repository": {
"type": "git",
@@ -52,6 +54,7 @@
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint-config-prettier": "^8.5.0",
- "prettier": "^2.7.1"
+ "prettier": "^2.7.1",
+ "tsc-suppress": "^1.0.7"
}
}