Skip to content

Commit

Permalink
feat(eslint-config): lint package.json with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
NimmLor committed Jun 1, 2023
1 parent abdbdcd commit 4d74b97
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ module.exports = {
'prettier',
],
ignorePatterns: [
'package.json',
'dist',
'node_modules',
'cdk.out',
Expand All @@ -72,6 +71,13 @@ module.exports = {
extends: ['canonical/json', 'prettier', 'plugin:jsonc/prettier'],
files: '*.{json,jsonc,json5}',
},
{
extends: ['prettier'],
files: 'package.json',
rules: {
'jsonc/sort-keys': 'off',
},
},
{
extends: ['canonical/yaml', 'prettier'],
files: '*.yaml',
Expand Down

0 comments on commit 4d74b97

Please sign in to comment.