diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2417609c..9e419de5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -89,11 +89,10 @@ repos: args: ['-c', 'pyproject.toml'] additional_dependencies: - 'bandit[toml]' - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 + - repo: https://github.com/pycontribs/mirrors-prettier + rev: v3.3.1 hooks: - id: prettier - args: ['--single-quote', '--trailing-comma', 'es5'] - repo: https://github.com/ducminh-phan/reformat-gherkin rev: v3.0.1 hooks: diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 00000000..1aed56ad --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,6 @@ +module.exports = { + endOfLine: 'lf', + singleQuote: true, + trailingComma: 'es5', + printWidth: 88, +};