Skip to content

Commit

Permalink
feat(eslint): Support also json and yaml config files
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Nov 13, 2019
1 parent 77c11a8 commit 4f49f5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/spire-plugin-eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function eslint(
argv.includes('--config') ||
(await hasFile('.eslintrc')) ||
(await hasFile('.eslintrc.js')) ||
(await hasFile('.eslintrc.json')) ||
(await hasFile('.eslintrc.yaml')) ||
(await hasPackageProp('eslintConfig'));
const eslintConfig =
allowCustomConfig && hasCustomConfig
Expand Down

0 comments on commit 4f49f5c

Please sign in to comment.