@manuhabitela configured panda css to manage project styling. Panda codegen generates a new folder, 'styled-system' which was not ingored by Eslint, resulting in ~40 Eslint errors. Adapted Eslint configurations to ignore this path.
21 lines
544 B
JavaScript
21 lines
544 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: { browser: true, es2020: true },
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
'plugin:@tanstack/eslint-plugin-query/recommended',
|
|
'plugin:jsx-a11y/recommended',
|
|
],
|
|
ignorePatterns: ['dist', '.eslintrc.cjs', 'styled-system'],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['react-refresh'],
|
|
rules: {
|
|
'react-refresh/only-export-components': [
|
|
'warn',
|
|
{ allowConstantExport: true },
|
|
],
|
|
},
|
|
}
|