Skip to content

Commit cdc0876

Browse files
committed
chore: add .editorconfig, prettier config
1 parent 69ad35b commit cdc0876

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.editorconfig

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
# Change these settings to your own preference
10+
indent_style = space
11+
indent_size = 2
12+
13+
# We recommend you to keep these unchanged
14+
end_of_line = lf
15+
charset = utf-8
16+
trim_trailing_whitespace = true
17+
insert_final_newline = true
18+
19+
[*.{md,patch}]
20+
trim_trailing_whitespace = false

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"keywords": [],
1010
"author": "Uri Shaked",
11-
"license": "ISC",
11+
"license": "MIT",
1212
"description": "",
1313
"dependencies": {
1414
"node-fetch": "^3.1.0"

prettier.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
printWidth: 100,
3+
singleQuote: true,
4+
tabWidth: 2,
5+
trailingComma: 'all',
6+
endOfLine: 'auto',
7+
};

0 commit comments

Comments
 (0)