sdk/.eslintrc.cjs

15 lines
462 B
JavaScript
Raw Permalink Normal View History

module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
2023-10-08 15:03:26 +00:00
ignorePatterns: ['dist', '.eslintrc.cjs', 'scripts'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}