Skip to content

Commit

Permalink
Move eslintConfigPrettier, re-enable rule
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Sep 29, 2024
1 parent 241e914 commit 563797a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const ERROR = 2;
const baseRules = {
// Possible Errors
'no-console': ERROR,
// Disable for Prettier compatibility
// https://github.com/prettier/eslint-config-prettier/pull/34
'no-unexpected-multiline': OFF,
'no-unexpected-multiline': ERROR,
'block-scoped-var': ERROR,
curly: [ERROR, 'all'],
'default-case': ERROR,
Expand Down Expand Up @@ -94,7 +92,6 @@ const settings = {
};

module.exports = [
eslintConfigPrettier,
{
plugins: {
'import-x': importX,
Expand Down Expand Up @@ -127,6 +124,7 @@ module.exports = [
settings,
rules: baseRules,
},
eslintConfigPrettier,
...[...tseslint.configs.recommended, ...tseslint.configs.stylistic].map(
({ plugins, ...config }) => ({
...config,
Expand Down

0 comments on commit 563797a

Please sign in to comment.