---

# For use with pre-commit.
# See usage instructions at http://pre-commit.com

-   id: ansible-lint
    name: Ansible-lint
    description: This hook runs ansible-lint.
    entry: ansible-lint --force-color .
    language: python
    # do not pass files to ansible-lint, see:
    # https://github.com/ansible/ansible-lint/issues/611
    pass_filenames: false
    always_run: true

---

# For use with pre-commit.
# See usage instructions at http://pre-commit.com

-   id: ansible-lint
    name: Ansible-lint
    description: This hook runs ansible-lint.
    entry: ansible-lint --force-color
    language: python
    # do not pass files to ansible-lint, see:
    # https://github.com/ansible/ansible-lint/issues/611
    pass_filenames: false
    always_run: true

Make pre-commit hook use auto-detect mode
Make pre-commit hook use auto-detect mode

Switches hook configuration to make use of auto-detection mode
instead of feeding the current directory as a parameter.

Fixes: #649
