feat: add linting config

This commit is contained in:
Yarmo Mackenbach 2023-05-03 10:46:09 +02:00
parent dc0806e738
commit 0e29471d89
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1
2 changed files with 26 additions and 0 deletions

16
.eslintrc.json Normal file
View file

@ -0,0 +1,16 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": "standard",
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}

10
jsconfig.json Normal file
View file

@ -0,0 +1,10 @@
{
"compilerOptions": {
"module": "ES2020",
"target": "ES2020",
"checkJs": true,
"moduleResolution": "node"
},
"include": ["src", "examples"],
"exclude": ["node_modules"]
}