Skip to content

Commit 59071b7

Browse files
committed
chore(config): prepare config for typescript
1 parent 57c607a commit 59071b7

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"prefer-spread": "off",
3030
"no-shadow": "off",
3131
"no-unused-vars": "warn",
32-
"arrow-body-style": "off"
32+
"arrow-body-style": "off",
33+
"prefer-arrow-callback": "off"
3334
}
3435
}

config.code-workspace

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
".vcmrc": "json",
4242
"*.css": "postcss",
4343
"*.pcss": "postcss"
44-
},
45-
"javascript.implicitProjectConfig.checkJs": true
44+
}
4645
},
4746
"extensions": {
4847
"recommendations": [

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"checkJs": true
5+
},
26
"typeRoots": [
37
"src/index.d.ts"
48
]

0 commit comments

Comments
 (0)