From b7a31cc6887bd15769bfdf75f36003869b2561a5 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 31 Dec 2022 01:15:20 +0100 Subject: 2022-20 in js --- 2022/20-Grove-Positioning-System/.eslintrc.json | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 2022/20-Grove-Positioning-System/.eslintrc.json (limited to '2022/20-Grove-Positioning-System/.eslintrc.json') diff --git a/2022/20-Grove-Positioning-System/.eslintrc.json b/2022/20-Grove-Positioning-System/.eslintrc.json new file mode 100644 index 0000000..81e57d1 --- /dev/null +++ b/2022/20-Grove-Positioning-System/.eslintrc.json @@ -0,0 +1,44 @@ +{ + "env": { + "es2021": true, + "node": true + }, + "extends": [ + "eslint:recommended", + "plugin:node/recommended" + ], + "overrides": [ + { + "files": ["*.js"], + "rules": { + "no-constant-condition": "off" + } + } + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": { + "indent": [ + "error", + "tab" + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "error", + "double" + ], + "semi": [ + "error", + "always" + ], + "node/no-unsupported-features/es-syntax": [ + "error", + { "ignores": ["modules"] } + ] + } +} -- cgit v1.2.3