Skip to content

Commit

Permalink
refactor(tooling): ignore yml files from eslint & prettier formattings (
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd authored Jul 26, 2024
1 parent 2307091 commit 0c8b785
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ module.exports = {
'**/.swc/',
'**/out/',
'**/*.md',
'**/*.mdx',
'**/*.yml',
'**/*.yaml',
],
rules: {
'no-case-declarations': 'off',
Expand Down
8 changes: 5 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# ignore everything by default
# /*
/*
# Enable prettier for apps, dapps and sdk
!/apps
!/sdk
!/dapps
!/.config
!/*.js

# ignore markdown files
# ignore markdown and yml files because they are covered by dprint
**/*.md
**/*.mdx
**/*.yml
**/*.yaml

# ignore generated files
/apps/icons/src
Expand All @@ -25,4 +28,3 @@ out/
generated/
playwright-report/
storybook-static/
pnpm-lock.yaml

0 comments on commit 0c8b785

Please sign in to comment.