Adapt tooling settings
parent
257aefea2c
commit
29d992615d
@ -0,0 +1,19 @@
|
||||
# The behavior of RuboCop can be controlled via the .rubocop.yml
|
||||
# configuration file. It makes it possible to enable/disable
|
||||
# certain cops (checks) and to alter their behavior if they accept
|
||||
# any parameters. The file can be placed either in your home
|
||||
# directory or in some project directory.
|
||||
#
|
||||
# RuboCop will start looking for the configuration file in the directory
|
||||
# where the inspected file is and continue its way up to the root directory.
|
||||
#
|
||||
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
|
||||
|
||||
Layout/IndentationWidth:
|
||||
Width: 4
|
||||
|
||||
Metrics/LineLength:
|
||||
Max: 100
|
||||
|
||||
Metrics/MethodLength:
|
||||
Max: 20
|
@ -0,0 +1,9 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
merge_imports = true
|
||||
format_code_in_doc_comments = true
|
||||
normalize_comments = true
|
||||
wrap_comments = true
|
||||
comment_width = 100
|
||||
report_fixme = "Always"
|
||||
report_todo = "Always"
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
newline_style = "Unix"
|
||||
edition = "2018"
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"rust.features": ["bsp_rpi3"],
|
||||
"rust.features": [
|
||||
"bsp_rpi3"
|
||||
],
|
||||
"rust.all_targets": false,
|
||||
}
|
||||
"editor.rulers": [
|
||||
100
|
||||
],
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
Style/WordArray:
|
||||
Enabled: false
|
Loading…
Reference in New Issue