Skip to content

Commit 880706b

Browse files
committed
Add editorconfig
1 parent 6cd5098 commit 880706b

File tree

3 files changed

+32
-14
lines changed

3 files changed

+32
-14
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
insert_final_newline = true
6+
end_of_line = lf
7+
indent_style = space
8+
9+
[*.{js,json,h,cpp}]
10+
trim_trailing_whitespace = true
11+
indent_size = 2
12+
13+
[irsdk_defines.h]
14+
indent_style = tab

.gitignore

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
node_modules/
2-
build/
3-
4-
51
# Visual Studio
62

73
*.njsproj
@@ -12,4 +8,10 @@ build/
128
*.sdf
139
*.suo
1410
*.vcxproj.user
11+
12+
# Misc
13+
.vscode
14+
node_modules/
15+
build/
16+
1517
npm-debug.log

.npmignore

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
build/
2-
sample-data/
3-
utils/
4-
test/
5-
src/doc
6-
.eslintrc
7-
appveyor.yml
8-
npm-debug.log
9-
10-
111
# Visual Studio
122

133
*.njsproj
@@ -18,3 +8,15 @@ npm-debug.log
188
*.sdf
199
*.suo
2010
*.vcxproj.user
11+
12+
# Misc
13+
14+
build/
15+
sample-data/
16+
utils/
17+
test/
18+
src/doc
19+
.eslintrc
20+
appveyor.yml
21+
npm-debug.log
22+
.vscode

0 commit comments

Comments
 (0)