Skip to content

Commit

Permalink
chore: update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashinguyen committed Oct 8, 2024
1 parent d226ade commit 2ae113c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: { project: 'tsconfig.json', sourceType: 'module' },
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
root: true,
env: { node: true, jest: true },
ignorePatterns: [
'*.js',
'dist/*',
'*.d.ts',
'*.config.*',
'src/types.ts',
'src/models.ts',
],
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',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/require-await': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/ban-types': 'off',
},
};
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ src/**/*.js*
public/*
!public/*.server.*
**/*.js.map
**/*.js

# Logs
logs
Expand Down

0 comments on commit 2ae113c

Please sign in to comment.