repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: end-of-file-fixer exclude: ^cognite/well_model/model - id: trailing-whitespace - repo: local hooks: - id: lint name: lint entry: yarn lint --fix types: [text] files: 'src/.*\.(js|ts)$' language: system - id: build name: build entry: yarn build types: [text] files: 'src/.*\.(js|ts)$' pass_filenames: false language: system - id: check-changelog name: Check changelog language: system always_run: true entry: yarn checkChangelog