diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1112fa72..90b0be99 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,11 +67,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/shellcheck-py/shellcheck-py rev: v0.10.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, +};