Skip to content

Run ESLint on dotfiles #100

@jdbruijn

Description

@jdbruijn

I noticed invalid code in the lintstaged configuration file, which wasn't picked up by ESLint. ESLint doesn't do this by default, see eslint/eslint#10341. I suggest creating a .eslintignore file like I use in vidavidorra/repo-template. The final !.* enables it to run on dotfiles. Currently we (ab)use the .gitignore file for ESLint too, but we can't just add !.* to the gitignore as that will stop ignoring some dotfiles we don't want.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions