diff --git a/.eslintrc.cjs b/.eslintrc.cjs index ec601b2..ee953fe 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,15 +1,25 @@ module.exports = { - env: { browser: true, es2020: true }, + env: { + browser: true, + es2020: true, + }, extends: [ 'eslint:recommended', 'plugin:react/recommended', 'plugin:react/jsx-runtime', 'plugin:react-hooks/recommended', ], - parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, - settings: { react: { version: '18.2' } }, + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + }, + settings: { + react: { + version: '18.2', + }, + }, plugins: ['react-refresh'], rules: { 'react-refresh/only-export-components': 'warn', }, -} +};