module.exports = { root: true, extends: ['airbnb', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:storybook/recommended'], plugins: ['react', 'react-hooks', '@typescript-eslint'], parser: '@typescript-eslint/parser', rules: { 'import/extensions': [0], 'react/jsx-filename-extension': [0], 'no-use-before-define': [0], '@typescript-eslint/no-use-before-define': ['error'], 'no-shadow': 'off', '@typescript-eslint/no-shadow': ['error'], 'react/no-danger': [0], 'linebreak-style': [0], 'react/function-component-definition': [2, { namedComponents: 'arrow-function', unnamedComponents: 'arrow-function', }], 'react-hooks/rules-of-hooks': 'error', 'react/require-default-props': [0], }, settings: { react: { version: 'detect', }, 'import/resolver': { typescript: {}, }, }, ignorePatterns: ['stories'], globals: { AU: true, $: true, }, };