dc88650d6d
* remove pnpm lock file (should only be using yarn) * Add lefthook configuration for pre-commit checks * Add explorer-v2 to package.json dependencies * add explorer v2 * update explorer v2 package name * + basepath + redirect to basepath + blog icons refactor + icons refactor * Add Getting Started instructions to README * fix noise graph bug and line graph UI * Delete unused translations, clean up console logs * / test image url * update yarn.lock --------- Co-authored-by: RadekSabacky <radek@nymtech.net> Co-authored-by: windy-ux <75579979+windy-ux@users.noreply.github.com> Co-authored-by: Yana <iana.matrosova@gmail.com> Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
# EXAMPLE USAGE:
|
|
#
|
|
# Refer for explanation to following link:
|
|
# https://lefthook.dev/configuration/
|
|
#
|
|
# pre-push:
|
|
# jobs:
|
|
# - name: packages audit
|
|
# tags:
|
|
# - frontend
|
|
# - security
|
|
# run: yarn audit
|
|
#
|
|
# - name: gems audit
|
|
# tags:
|
|
# - backend
|
|
# - security
|
|
# run: bundle audit
|
|
#
|
|
# pre-commit:
|
|
# parallel: true
|
|
# jobs:
|
|
# - run: yarn eslint {staged_files}
|
|
# glob: "*.{js,ts,jsx,tsx}"
|
|
#
|
|
# - name: rubocop
|
|
# glob: "*.rb"
|
|
# exclude:
|
|
# - config/application.rb
|
|
# - config/routes.rb
|
|
# run: bundle exec rubocop --force-exclusion {all_files}
|
|
#
|
|
# - name: govet
|
|
# files: git ls-files -m
|
|
# glob: "*.go"
|
|
# run: go vet {files}
|
|
#
|
|
# - script: "hello.js"
|
|
# runner: node
|
|
#
|
|
# - script: "hello.go"
|
|
# runner: go run
|
|
pre-commit:
|
|
commands:
|
|
check:
|
|
root: "explorer-nextjs/"
|
|
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,css}"
|
|
run: yarn biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
|
|
stage_fixed: true
|