Files
react-native-video/lefthook.yml
T
Kamil Moskała 6aaeebce8a docs: add eslint (#4805)
* 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
2025-12-24 00:07:13 +01:00

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