Updating eslint config

This commit is contained in:
Sahil Ahuja 2025-02-18 22:58:57 +05:30
parent 79718eb5d3
commit fca761eb60
2 changed files with 9 additions and 2 deletions

View File

@ -3,9 +3,12 @@ import tseslint from "typescript-eslint";
export default tseslint.config( export default tseslint.config(
eslint.configs.recommended, eslint.configs.recommended,
...tseslint.configs.recommended, tseslint.configs.recommended,
{ {
"files": ["src/**/*.{js,ts,jsx,tsx}"], files: ["src/**/*.{js,ts,jsx,tsx}"]
}, {
ignores: ["*.min.js", "src/models/", "src/static/", "src/public/"],
}, {
rules: { rules: {
"no-undef": "off", "no-undef": "off",
"@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-explicit-any": "off",

View File

@ -35,6 +35,10 @@
"peerDependencies": { "peerDependencies": {
"@gmetrixr/gdash": "1.*.*" "@gmetrixr/gdash": "1.*.*"
}, },
"dependencies": {
"@types/superagent": "^8.1.9",
"superagent": "^10.1.1"
},
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.20.0", "@eslint/js": "^9.20.0",
"@gmetrixr/gdash": "^1.3.87", "@gmetrixr/gdash": "^1.3.87",