20 lines
574 B
JavaScript
20 lines
574 B
JavaScript
// eslint-disable-next-line no-undef
|
|
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint'],
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:storybook/recommended'],
|
|
rules: {
|
|
'@typescript-eslint/no-empty-function': 'warn',
|
|
'max-len': [
|
|
1,
|
|
{
|
|
code: 80,
|
|
ignoreComments: true,
|
|
ignoreStrings: true,
|
|
ignoreTemplateLiterals: true,
|
|
},
|
|
],
|
|
},
|
|
};
|