diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..626d90b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +--- +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: + - repo: https://github.com/get-alex/alex + rev: 6a08eb5dad8b012758b8841d65d749fb56b78dbe # TODO Replace with a tag + hooks: + - id: alex diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..f2d60b1 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,9 @@ +--- +- id: alex + name: Alex + description: "Check files to 'find gender favoring, polarizing, race related, religion inconsiderate, or other unequal phrasing in text.'" + entry: alex + language: node + types: + - text + pass_filenames: false