sindresorhus / awesome-lint

Linter for Awesome lists
MIT License
600 stars 56 forks source link

add pre-commit config #154

Open guykisel opened 1 year ago

guykisel commented 1 year ago

Hello, https://pre-commit.com/ is a really handy tool for configuring and managing pre-commit hooks. I'm setting up a new awesome list and while reading the docs I came upon this linter.

It's usually pretty easy to add a pre-commit config to a linter's repo - https://pre-commit.com/index.html#new-hooks

As an example here's a config for markdownlint - https://github.com/igorshubovych/markdownlint-cli/blob/master/.pre-commit-hooks.yaml

If this seems like a good idea, I'd be happy to contribute such a config myself.

Thanks for taking a look at this request!

sindresorhus commented 1 year ago

Pull request welcome 👍

guykisel commented 1 year ago

Awesome, thanks for the reply! I'll submit a PR :)