pack: add .editorconfig and use tab instead of space
This commit is contained in:
1 parent
be3638b9d3
commit
be7a8ac3ea
3 files changed
+13
-2
No files matched your search
@@ -0,0 +1,11 @@
|
|||||||
|
# http://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 2
|
||||||
|
insert_final_newline = true
|
||||||
|
max_line_length = 80
|
||||||
|
trim_trailing_whitespace = true
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
printWidth: 100,
|
printWidth: 100,
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
useTabs: false,
|
useTabs: true,
|
||||||
semi: false,
|
semi: false,
|
||||||
vueIndentScriptAndStyle: false,
|
vueIndentScriptAndStyle: false,
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
|
|||||||
+1
-1
@@ -8,5 +8,5 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true
|
||||||
},
|
},
|
||||||
"include": ["package.json", "electron"]
|
"include": ["package.json"]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user