chore: move configurations to package.json (#2613)

feat: refactor to have minimal config files
This commit is contained in:
Saurav Maheshkar
2024-06-22 02:43:13 +05:30
committed by GitHub
parent eff1336b82
commit e2ae524edd
5 changed files with 28 additions and 27 deletions
-2
View File
@@ -1,2 +0,0 @@
node_modules
dist
-3
View File
@@ -1,3 +0,0 @@
**/node_modules
**/dist
**/build
-9
View File
@@ -1,9 +0,0 @@
module.exports = {
printWidth: 140,
singleQuote: true,
jsxSingleQuote: true,
trailingComma: 'none',
tabWidth: 4,
semi: false,
endOfLine: 'auto'
}
-13
View File
@@ -1,13 +0,0 @@
module.exports = {
presets: [
'@babel/preset-typescript',
[
'@babel/preset-env',
{
targets: {
node: 'current'
}
}
]
]
}
+28
View File
@@ -66,5 +66,33 @@
"@qdrant/openapi-typescript-fetch": "1.2.1",
"@google/generative-ai": "^0.7.0",
"openai": "4.51.0"
},
"eslintIgnore": [
"**/dist",
"**/node_modules",
"**/build",
"**/package-lock.json"
],
"prettier": {
"printWidth": 140,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none",
"tabWidth": 4,
"semi": false,
"endOfLine": "auto"
},
"babel": {
"presets": [
"@babel/preset-typescript",
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}