From c214b3541db4af6853c735bee1af386e7362ea9a Mon Sep 17 00:00:00 2001 From: Andreas Wittig Date: Wed, 11 Dec 2024 22:08:19 +0100 Subject: [PATCH] preparing eslint v9 --- test/eslint.config.cjs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/eslint.config.cjs diff --git a/test/eslint.config.cjs b/test/eslint.config.cjs new file mode 100644 index 0000000..0ca4d3d --- /dev/null +++ b/test/eslint.config.cjs @@ -0,0 +1,16 @@ +const globals = require('globals'); + +module.exports = [{ + languageOptions: { + globals: globals.node, + ecmaVersion: 2017, + sourceType: 'commonjs', + }, + + rules: { + indent: ['error', 2], + 'linebreak-style': ['error', 'unix'], + quotes: ['error', 'single'], + semi: ['error', 'always'], + }, +}]; \ No newline at end of file