mirror of
https://github.com/Fdawgs/node-poppler.git
synced 2026-07-02 00:17:43 +08:00
chore(.editorconfig): add file to enforce consistent coding styles (#712)
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
# Prettier will use these settings
|
||||||
|
end_of_line = lf
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
max_line_length = 80
|
||||||
|
|
||||||
|
[*.{css,html,scss}]
|
||||||
|
max_line_length = 120
|
||||||
+1
-5
@@ -1,16 +1,12 @@
|
|||||||
{
|
{
|
||||||
"arrowParens": "always",
|
"arrowParens": "always",
|
||||||
"endOfLine": "lf",
|
|
||||||
"semi": true,
|
"semi": true,
|
||||||
"tabWidth": 4,
|
|
||||||
"trailingComma": "es5",
|
"trailingComma": "es5",
|
||||||
"useTabs": true,
|
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": ["*.css", "*.html", "*.scss"],
|
"files": ["*.css", "*.html", "*.scss"],
|
||||||
"options": {
|
"options": {
|
||||||
"bracketSameLine": true,
|
"bracketSameLine": true
|
||||||
"printWidth": 120
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user