twenty/front/.eslintrc.js

28 lines
716 B
JavaScript
Raw Normal View History

module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
2023-04-20 12:44:47 +03:00
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
2023-04-20 12:44:47 +03:00
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'plugin:storybook/recommended',
'react-app',
],
root: true,
env: {
node: true,
2023-04-20 12:44:47 +03:00
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
2023-04-20 12:44:47 +03:00
'@typescript-eslint/no-explicit-any': 'off',
},
};