Skip to content

Commit

Permalink
chore: add editorconfig (#2058)
Browse files Browse the repository at this point in the history
  • Loading branch information
BBE78 committed Feb 12, 2022
1 parent 40ef309 commit 30d260d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# default configuration
[*]
charset = utf-8
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

# Tab indentation (no size specified)
[Makefile]
indent_style = tab
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "@dabh/eslint-config-populist",
"rules": {
"one-var": ["error", { var: "never", let: "never", const: "never" }],
"one-var": ["error", { "var": "never", "let": "never", "const": "never" }],
"linebreak-style": ["error", "windows"],
"strict": 0
},
"parserOptions": {
Expand Down

0 comments on commit 30d260d

Please sign in to comment.