Skip to content

Commit

Permalink
chore:update eslint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
felipe-marques11 committed Oct 17, 2024
1 parent 4438c51 commit fdee0e2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 29 deletions.
24 changes: 0 additions & 24 deletions .eslintrc.js

This file was deleted.

21 changes: 21 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = [
{
files: ["**/*.ts"],
languageOptions: {
parser: require('@typescript-eslint/parser'),
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
},
plugins: {
'@typescript-eslint': require('@typescript-eslint/eslint-plugin'),
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
},
];
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.6.3"
"typescript": "5.5"
},
"jest": {
"moduleFileExtensions": [
Expand Down

0 comments on commit fdee0e2

Please sign in to comment.