mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-24 17:50:20 -06:00
Add an editorconfig file to help maintain coding standards.
This commit is contained in:
parent
86dc1e81f1
commit
ede6765f6b
30
web/.editorconfig
Normal file
30
web/.editorconfig
Normal file
@ -0,0 +1,30 @@
|
||||
# EditorConfig helps developers define and maintain consistent
|
||||
# coding styles between different editors and IDEs
|
||||
# editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
# We recommend you to keep these unchanged
|
||||
[*]
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
max_line_length = 80
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
|
||||
[*.js]
|
||||
indent_size = 2
|
||||
|
||||
[*.css]
|
||||
indent_size = 2
|
||||
|
||||
# Matches the exact file package.json
|
||||
[{package.json}]
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
@ -7,6 +7,7 @@
|
||||
"cross-env": "^5.0.1",
|
||||
"enzyme": "~2.8.2",
|
||||
"enzyme-matchers": "^3.1.0",
|
||||
"eclint": "^2.3.0",
|
||||
"eslint": "3.19.0",
|
||||
"eslint-plugin-react": "^6.10.3",
|
||||
"extract-text-webpack-plugin": "^2.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user