This commit is contained in:
2024-11-28 23:08:17 +01:00
parent 8895fde030
commit 0dda8e760c
16116 changed files with 2866428 additions and 71 deletions

View File

@@ -0,0 +1,15 @@
const eslintConfigPrettier = require("eslint-config-prettier");
// Note that we are not extending from the recommended config.
// Because that would be an overkill:
// - since we are not formatting, the plugin isn't needed;
// - and without the `prettier/prettier` rule, we don't have to disable the conflicting `arrow-body-style` and `prefer-arrow-callback` rules.
/** @type {import('eslint').Linter.Config} */
module.exports = {
...eslintConfigPrettier,
rules: {
...eslintConfigPrettier.rules,
"prettier/prettier": "off",
},
};