think/.eslintrc.server.js

20 lines
565 B
JavaScript
Raw Normal View History

2022-05-01 14:07:22 +00:00
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: './packages/server/tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};