mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-16 04:42:26 +00:00
6aaeebce8a
* docs: add eslint * chore: remove @eslint/css * feat(docs): add custom eslint rule for css variables * ci: check lint on css changes in docs * ci: update lefthook configuration
21 lines
468 B
YAML
21 lines
468 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
lint:
|
|
glob: "*.{js,ts,jsx,tsx}"
|
|
exclude: "docs/**/*"
|
|
run: bun lint
|
|
lint-docs:
|
|
# using @widlarzgroup/eslint-plugin-docusaurus for CSS variable validation
|
|
root: "docs/"
|
|
glob: "**/*.{js,ts,jsx,tsx,css}"
|
|
run: bun run lint
|
|
types:
|
|
glob: "*.{js,ts,jsx,tsx}"
|
|
run: bun typecheck
|
|
commit-msg:
|
|
parallel: true
|
|
commands:
|
|
commitlint:
|
|
run: bunx commitlint --edit
|