Updated vscode settings

This commit is contained in:
thomashii 2021-07-08 10:44:27 +08:00
parent 437849bbd1
commit 7ead38f5c8
4 changed files with 25 additions and 83 deletions

14
.vscode/settings.json vendored
View file

@ -1,5 +1,17 @@
{
"files.watcherExclude": {
"**/target": true
}
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"beautify.language": {
"html": ["html"],
"css": [],
"js": []
},
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": true
}
}

1
packages/.gitignore vendored
View file

@ -50,6 +50,7 @@ doc/api/
## VsCode
.vscode/
!.vscode/settings.json
## File-based project format:
*.iws

View file

@ -1,71 +0,0 @@
# See https://www.dartlang.org/tools/private-files.html
# Files and directories created by pub
.dart_tool
.packages
.pub/
build/
# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock
# Directory created by dartdoc
# If you don't generate documentation locally you can remove this line.
doc/api/
### Dart template
# See https://www.dartlang.org/tools/private-files.html
# Files and directories created by pub
# SDK 1.20 and later (no longer creates packages directories)
# Older SDK versions
# (Include if the minimum SDK version specified in pubsepc.yaml is earlier than 1.20)
.project
.buildlog
**/packages/
# Files created by dart2js
# (Most Dart developers will use pub build to compile Dart, use/modify these
# rules if you intend to use dart2js directly
# Convention is to use extension '.dart.js' for Dart compiled to Javascript to
# differentiate from explicit Javascript files)
*.dart.js
*.part.js
*.js.deps
*.js.map
*.info.json
# Directory created by dartdoc
# Don't commit pubspec lock file
# (Library packages only! Remove pattern if developing an application package)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff:
## VsCode
.vscode/
## File-based project format:
*.iws
## Plugin-specific files:
# IntelliJ
.idea/
/out/
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

View file

@ -1,16 +1,16 @@
include: package:pedantic/analysis_options.yaml
analyzer:
errors:
always_declare_return_types: ignore
omit_local_variable_types: ignore
prefer_single_quotes: ignore
prefer_spread_collections: ignore
# errors:
# always_declare_return_types: ignore
# omit_local_variable_types: ignore
# prefer_single_quotes: ignore
# prefer_spread_collections: ignore
strong-mode:
implicit-casts: false
linter:
rules:
- avoid_slow_async_io
- curly_braces_in_flow_control_structures
- unnecessary_const
- unnecessary_new
#linter:
# rules:
# - avoid_slow_async_io
# - curly_braces_in_flow_control_structures
# - unnecessary_const
# - unnecessary_new