Skip to content

Commit 54efc99

Browse files
chore: add editorconfig
1 parent 7e7eb2a commit 54efc99

File tree

3 files changed

+39
-23
lines changed

3 files changed

+39
-23
lines changed

.editorconfig

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

tsconfig.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"compilerOptions": {
3-
"checkJs": true,
4-
"allowJs": true,
5-
"noEmit": true,
6-
"strict": true,
7-
"strictNullChecks": false,
8-
"noImplicitAny": false,
9-
"lib": [
10-
"es2020"
11-
]
12-
},
13-
"include": [
14-
"./test/*.js"
15-
],
16-
"exclude": [
17-
"node_modules"
18-
]
2+
"compilerOptions": {
3+
"checkJs": true,
4+
"allowJs": true,
5+
"noEmit": true,
6+
"strict": true,
7+
"strictNullChecks": false,
8+
"noImplicitAny": false,
9+
"lib": [
10+
"es2020"
11+
]
12+
},
13+
"include": [
14+
"test/*.js"
15+
],
16+
"exclude": [
17+
"node_modules"
18+
]
1919
}

tsconfig.typedoc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"compilerOptions": {
3-
"allowJs": false
4-
},
5-
"include": [
6-
"./tree-sitter.d.ts"
7-
]
2+
"compilerOptions": {
3+
"allowJs": false
4+
},
5+
"include": [
6+
"tree-sitter.d.ts"
7+
]
88
}

0 commit comments

Comments
 (0)