chore: 🔧 lintstaged config and add test files

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-01-18 00:45:04 -03:00
parent b97ca55a68
commit 49832f676a
2 changed files with 26 additions and 21 deletions

4
.lintstagedrc Normal file
View File

@@ -0,0 +1,4 @@
{
"gitDir": "./.git",
"*": "eslint --fix"
}

View File

@@ -1,23 +1,24 @@
{
"compilerOptions": {
"checkJs": true,
"allowJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"module": "ES2022",
"target": "ES2022",
"alwaysStrict": true
},
"include": [
"./src/**/*.js",
"./eslint.config.js"
],
"exclude": [
"./node_modules/**",
".dist"
]
"compilerOptions": {
"checkJs": true,
"allowJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"module": "ES2022",
"target": "ES2022",
"alwaysStrict": true
},
"include": [
"./src/**/*.js",
"./test/**/*.js",
"./eslint.config.js"
],
"exclude": [
"./node_modules/**",
".dist"
]
}