Skip to content

Commit

Permalink
fix(typescript): removido .d.ts dos arquivos ignorados
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefelipeschulle committed Jun 24, 2024
1 parent 0e67cfd commit 8aa5e3a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainylab/eslint-config",
"version": "2.3.7",
"version": "2.3.8",
"description": "ESLint config for BrainyLab projects",
"keywords": [
"eslint",
Expand Down Expand Up @@ -72,6 +72,7 @@
"optional": true
}
},
"packageManager": "[email protected]+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a",
"engines": {
"node": ">=18"
}
Expand Down
4 changes: 3 additions & 1 deletion src/presets/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const typescriptCore = tsEslint.config({
project: './tsconfig.json',
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
},
settings: {
Expand All @@ -35,7 +38,6 @@ const typescriptCore = tsEslint.config({
'**/coverage/**/*',
'**/dist/*',
'**/.next/**/*',
'**/*.d.ts',
],
rules: {
'@typescript-eslint/no-explicit-any': ['warn', { ignoreRestArgs: true }],
Expand Down
28 changes: 14 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"compilerOptions": {
"target": "esnext",
"lib": ["es2022"],
"module": "esnext",
"moduleResolution": "bundler",
"types": ["node"],
"strict": true,
"noUnusedLocals": true,
"declaration": true,
"noEmit": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"include": ["src"]
"compilerOptions": {
"target": "esnext",
"lib": ["es2022"],
"module": "esnext",
"moduleResolution": "bundler",
"types": ["node"],
"strict": true,
"noUnusedLocals": true,
"declaration": true,
"noEmit": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"include": ["src"]
}

0 comments on commit 8aa5e3a

Please sign in to comment.