Merge pull request #2 from Nez27/feat/config-project

Update config project
This commit is contained in:
Loi Phan
2023-09-27 15:42:51 +07:00
committed by GitHub
4 changed files with 1004 additions and 31 deletions
+10 -1
View File
@@ -9,6 +9,7 @@
],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"import/no-unresolved": "error",
"prettier/prettier": [
"error",
{
@@ -22,6 +23,7 @@
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"no-shadow": "off",
"node/no-unsupported-features/es-syntax": [
"error",
{ "ignores": ["modules"] }
@@ -37,11 +39,18 @@
]
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"node": {
"extensions": [".js", ".ts", ".json"]
}
},
"import/extensions": [".js", ".ts", ".mjs"]
"import/extensions": {
"typescript": {
"alwaysTryTypes": true // always try to resolve types under
}
}
}
}
+1
View File
@@ -0,0 +1 @@
typescript-training
+988 -27
View File
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -2,14 +2,15 @@
"name": "typescript-practice",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "parcel src/pages/*.html"
"start": "parcel src/pages/*.html",
"build": "parcel build ./src/pages/*.html --no-cache --no-source-maps --dist-dir dist"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"firebase": "^10.4.0",
"parcel": "^2.9.3"
},
"devDependencies": {
@@ -20,7 +21,8 @@
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-node": "^4.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.3",