MOBILE-3947 dx: Update some config to align to Ionic7
parent
9be60c9e83
commit
1639e60ebe
|
@ -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
|
|
@ -6,32 +6,70 @@
|
||||||
.tmp
|
.tmp
|
||||||
*.tmp
|
*.tmp
|
||||||
*.tmp.*
|
*.tmp.*
|
||||||
*.sublime-project
|
|
||||||
*.sublime-workspace
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
UserInterfaceState.xcuserstate
|
UserInterfaceState.xcuserstate
|
||||||
$RECYCLE.BIN/
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
*.log
|
*.log
|
||||||
log.txt
|
log.txt
|
||||||
npm-debug.log*
|
|
||||||
|
|
||||||
/.idea
|
|
||||||
/.ionic
|
|
||||||
/.sass-cache
|
|
||||||
/.sourcemaps
|
/.sourcemaps
|
||||||
/.versions
|
/.versions
|
||||||
/coverage
|
/coverage
|
||||||
/dist
|
|
||||||
/node_modules
|
# Ionic
|
||||||
|
/.ionic
|
||||||
|
/www
|
||||||
/platforms
|
/platforms
|
||||||
/plugins
|
/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/lib
|
||||||
|
/src/assets/lang/*
|
||||||
|
/src/assets/env.json
|
||||||
|
|
||||||
/moodle.config.*.json
|
/moodle.config.*.json
|
||||||
!/moodle.config.example.json
|
!/moodle.config.example.json
|
||||||
|
|
||||||
/src/assets/lang/*
|
|
||||||
/src/assets/env.json
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
|
"ionic.ionic",
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"angular.ng-template"
|
"angular.ng-template"
|
||||||
]
|
]
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"strictPropertyInitialization": true,
|
"strictPropertyInitialization": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"useDefineForClassFields": false,
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
|
@ -32,21 +34,23 @@
|
||||||
"webpack-env"
|
"webpack-env"
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@addons/*": ["addons/*"],
|
"@addons/*": ["./addons/*"],
|
||||||
"@classes/*": ["core/classes/*"],
|
"@classes/*": ["./core/classes/*"],
|
||||||
"@components/*": ["core/components/*"],
|
"@components/*": ["./core/components/*"],
|
||||||
"@directives/*": ["core/directives/*"],
|
"@directives/*": ["./core/directives/*"],
|
||||||
"@features/*": ["core/features/*"],
|
"@features/*": ["./core/features/*"],
|
||||||
"@guards/*": ["core/guards/*"],
|
"@guards/*": ["./core/guards/*"],
|
||||||
"@pipes/*": ["core/pipes/*"],
|
"@pipes/*": ["./core/pipes/*"],
|
||||||
"@services/*": ["core/services/*"],
|
"@services/*": ["./core/services/*"],
|
||||||
"@singletons": ["core/singletons/index"],
|
"@singletons": ["./core/singletons/index"],
|
||||||
"@singletons/*": ["core/singletons/*"],
|
"@singletons/*": ["./core/singletons/*"],
|
||||||
"@/*": ["*"]
|
"@/*": ["./*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"fullTemplateTypeCheck": true,
|
"fullTemplateTypeCheck": true,
|
||||||
"strictInjectionParameters": true
|
"enableI18nLegacyMessageIdFormat": false,
|
||||||
|
"strictInjectionParameters": true,
|
||||||
|
"strictInputAccessModifiers": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue