Skip to content

Commit

Permalink
Fix ESlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
morewings committed Jul 14, 2024
1 parent 3b0cb29 commit ef711e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import configReactJSXRuntime from 'eslint-plugin-react/configs/jsx-runtime.js';
import pluginReactHooks from 'eslint-plugin-react-hooks';
import {fixupPluginRules} from '@eslint/compat';
import configPrettierRecommended from 'eslint-plugin-prettier/recommended';
import pluginSSR from 'eslint-plugin-ssr-friendly';

export default [
eslint.configs.recommended,
Expand Down Expand Up @@ -48,7 +47,7 @@ export default [
},
rules: {
...pluginReactHooks.configs.recommended.rules,
...pluginSSR.configs.recommended.rules,
...pluginSSRFriendly.configs.recommended.rules,
/**
* Allow empty arrow functions `() => {}`, while keeping other empty functions restricted
* @see https://eslint.org/docs/latest/rules/no-empty-function#allow-arrowfunctions
Expand Down

0 comments on commit ef711e9

Please sign in to comment.