Skip to content

Commit

Permalink
Ensure to run ESLint on automatically ignored dotfiles
Browse files Browse the repository at this point in the history
The ignore pattern for dotfiles it automatically applied by ESLint to
prevent accidentally lint over paths like ".cache", ".git" or any other
critical paths. Explicitly excluding dotfiles from the ignore pattern
allows to lint these files.

GH-15
  • Loading branch information
arcticicestudio committed Nov 17, 2018
1 parent 5ebcc81 commit 40f22f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ content/*
**/node_modules/*
public/*
static/*
!.gatsby
!.eslintrc.js
!.huskyrc.js
!.remarkrc.js

0 comments on commit 40f22f0

Please sign in to comment.