grafana/contribute
Josh Hunt 654d99fbca
Chore: Replace Husky/Lint-staged with Lefthook (#66608)
* Switch from husky+precommit to lefthook

Migrate from husky/precommit to lefthook

h

old husky precommit

lefthook so far

remove husky folder

switch to new lefthook package

Add postinstall script to clean up after husky

preinstall to remove husky config

package.json

package.json

package.json

script

v

Reduce lefthook output

Cleanup

testing

reduce output

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

testing betterer

skip skipping execution info

small cleanup

remove comment from testing

clean up old husky hooks in .git/hooks path

run scripts in parallel

update codeowners

don't auto-install lefthook

install lefthook with make command

fix yarn checksum

* update codeowners

* don't use source because it isn't available in ubuntu/debian's /bin/sh

* Ensure lefthook commits files fixed by precommit hooks

* add comment to lefthook.rc explaining what it does

* add i18n:pseudo precommit

* Don't create .husky/safe-to-delete file anymore

* cleanup old lint-staged config

* contribute docs

* update lefthook to 1.4.8

* Move frontend encouragement docs

* rewrite husky cleanup script in bash so we can run it with make

* Make old husky precommit script reject commits until husky is removed

* log precommit warning for everyone

* fix package.json

* run lefthook hooks from old husky hook

* run lefthook hooks from old husky hook

* comments

* codeowners

* codeowners
2023-08-17 09:56:52 +00:00
..
architecture Docs: Update references in contribute/ dir (#69564) 2023-06-06 15:56:39 +02:00
backend Documentation: Clarify how to use prometheus locally (#72846) 2023-08-04 15:00:05 -04:00
documentation Docs: removes writing guidelines, points contributors to Writers' Toolkit (#58011) 2022-11-01 14:48:52 -05:00
engineering Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
style-guides Frontend: Fix frontend styleguide emotion example (#70371) 2023-06-20 13:31:38 +03:00
breaking-changes-comment-screenshot.png Chore: guideline for dealing with breaking changes (#45128) 2022-02-11 09:29:57 +01:00
breaking-changes-console-screenshot-1.png Chore: guideline for dealing with breaking changes (#45128) 2022-02-11 09:29:57 +01:00
breaking-changes-console-screenshot-2.png Chore: guideline for dealing with breaking changes (#45128) 2022-02-11 09:29:57 +01:00
breaking-changes-console-screenshot-3.png Chore: guideline for dealing with breaking changes (#45128) 2022-02-11 09:29:57 +01:00
breaking-changes-guide.md Chore: guideline for dealing with breaking changes (#45128) 2022-02-11 09:29:57 +01:00
breaking-changes-workflow.png Chore: guideline for dealing with breaking changes (#45128) 2022-02-11 09:29:57 +01:00
create-pull-request.md Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
developer-guide.md Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
drone-pipeline.md Docs: Contribution guidelines for updating Drone pipelines (#69530) 2023-06-14 10:40:17 +02:00
feature-toggles.md Dev docs: Add a doc around feature toggles (#72938) 2023-08-10 07:07:46 -06:00
internationalization.md Internationalization: Correctly generate plural forms (#71341) 2023-07-11 16:37:01 +01:00
merge-pull-request.md Chore: Add auto-milestone workflow for pull-requests (#71177) 2023-07-17 09:55:35 +02:00
README.md Fix typos in contributing documentation (#72719) 2023-08-07 12:41:50 +03:00
triage-issues.md Docs: Clean up contribute docs (#19716) 2019-10-22 16:23:46 +02:00

Contribute

This directory contains guides for contributors to the Grafana project.

The style-guides directory contains style guides for the Grafana software project and documentation.