chore: 🔧 lintstaged config and add test files
This commit is contained in:
4
.lintstagedrc
Normal file
4
.lintstagedrc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"gitDir": "./.git",
|
||||
"*": "eslint --fix"
|
||||
}
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user