MOBILE-3947 dx: Update some config to align to Ionic7

main
Pau Ferrer Ocaña 2023-11-13 13:12:29 +01:00
parent 9be60c9e83
commit 1639e60ebe
4 changed files with 88 additions and 26 deletions

19
.editorconfig 100644
View File

@ -0,0 +1,19 @@
# Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.json]
indent_size = 2
[*.ts]
quote_type = single
[*.md]
max_line_length = off
trim_trailing_whitespace = false

66
.gitignore vendored
View File

@ -6,32 +6,70 @@
.tmp
*.tmp
*.tmp.*
*.sublime-project
*.sublime-workspace
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
$RECYCLE.BIN/
*.log
log.txt
npm-debug.log*
/.idea
/.ionic
/.sass-cache
/.sourcemaps
/.versions
/coverage
/dist
/node_modules
# Ionic
/.ionic
/www
/platforms
/plugins
/www
# Compiled output
/dist
/tmp
/out-tsc
/bazel-out
# Node
/node_modules
npm-debug.log
yarn-error.log
# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-project
*.sublime-workspace
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*
# Miscellaneous
/.angular
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings
# System files
.DS_Store
Thumbs.db
# Moodle App
/src/assets/lib
/src/assets/lang/*
/src/assets/env.json
/moodle.config.*.json
!/moodle.config.example.json
/src/assets/lang/*
/src/assets/env.json

View File

@ -1,5 +1,6 @@
{
"recommendations": [
"ionic.ionic",
"dbaeumer.vscode-eslint",
"angular.ng-template"
]

View File

@ -9,6 +9,8 @@
"experimentalDecorators": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": false,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
@ -32,21 +34,23 @@
"webpack-env"
],
"paths": {
"@addons/*": ["addons/*"],
"@classes/*": ["core/classes/*"],
"@components/*": ["core/components/*"],
"@directives/*": ["core/directives/*"],
"@features/*": ["core/features/*"],
"@guards/*": ["core/guards/*"],
"@pipes/*": ["core/pipes/*"],
"@services/*": ["core/services/*"],
"@singletons": ["core/singletons/index"],
"@singletons/*": ["core/singletons/*"],
"@/*": ["*"]
"@addons/*": ["./addons/*"],
"@classes/*": ["./core/classes/*"],
"@components/*": ["./core/components/*"],
"@directives/*": ["./core/directives/*"],
"@features/*": ["./core/features/*"],
"@guards/*": ["./core/guards/*"],
"@pipes/*": ["./core/pipes/*"],
"@services/*": ["./core/services/*"],
"@singletons": ["./core/singletons/index"],
"@singletons/*": ["./core/singletons/*"],
"@/*": ["./*"]
}
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true
}
}