mirror of
https://github.com/Nezumi-2711/typescript-training.git
synced 2026-09-22 13:48:29 +00:00
Update config project
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
typescript-training
|
||||
Generated
+988
-27
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,7 @@
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user