Skip to content

Commit

Permalink
fix(eslint-config): add prettier to to overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
NimmLor committed Jun 1, 2023
1 parent e9e4763 commit abdbdcd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = {
],
overrides: [
{
extends: ['canonical/typescript'],
extends: ['canonical/typescript', 'prettier'],
files: ['*.ts', '*.tsx'],
rules: {
...typescriptRules,
Expand All @@ -69,15 +69,15 @@ module.exports = {
},
},
{
extends: ['canonical/json', 'plugin:jsonc/prettier'],
extends: ['canonical/json', 'prettier', 'plugin:jsonc/prettier'],
files: '*.{json,jsonc,json5}',
},
{
extends: ['canonical/yaml'],
extends: ['canonical/yaml', 'prettier'],
files: '*.yaml',
},
{
extends: ['canonical/graphql'],
extends: ['canonical/graphql', 'prettier'],
files: '*.graphql',
},
],
Expand Down

0 comments on commit abdbdcd

Please sign in to comment.