diff options
author | Julien Dessaux | 2022-12-31 01:15:20 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-12-31 01:15:20 +0100 |
commit | b7a31cc6887bd15769bfdf75f36003869b2561a5 (patch) | |
tree | 46f551bc7e3631aa49f10b8518297fcd1f20a099 /2022/20-Grove-Positioning-System/.eslintrc.json | |
parent | 2022-19 in js (diff) | |
download | advent-of-code-b7a31cc6887bd15769bfdf75f36003869b2561a5.tar.gz advent-of-code-b7a31cc6887bd15769bfdf75f36003869b2561a5.tar.bz2 advent-of-code-b7a31cc6887bd15769bfdf75f36003869b2561a5.zip |
2022-20 in js
Diffstat (limited to '2022/20-Grove-Positioning-System/.eslintrc.json')
-rw-r--r-- | 2022/20-Grove-Positioning-System/.eslintrc.json | 44 |
1 files changed, 44 insertions, 0 deletions
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"] } + ] + } +} |