backend/.eslintrc.js

34 lines
905 B
JavaScript
Raw Normal View History

2023-08-23 11:54:26 +00:00
module.exports = {
env: {
node: true,
},
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
2023-11-22 23:14:45 +00:00
ignorePatterns: ['src/db/migrations/**/*'],
2023-08-23 11:54:26 +00:00
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-empty-interface': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
varsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
argsIgnorePattern: '^_',
},
],
},
};