aboutsummaryrefslogtreecommitdiff
path: root/2022/22-Monkey-Map/.eslintrc.json
diff options
context:
space:
mode:
authorJulien Dessaux2023-05-22 19:19:22 +0200
committerJulien Dessaux2023-05-22 19:21:05 +0200
commit5a44bc3f6c4e65dcfe2044259c4f7de05043b980 (patch)
treecfaaa105a7a233527a75ef22d9e25bf4bc7a9f6a /2022/22-Monkey-Map/.eslintrc.json
parent2020-25 in haskell v2 (diff)
downloadadvent-of-code-5a44bc3f6c4e65dcfe2044259c4f7de05043b980.tar.gz
advent-of-code-5a44bc3f6c4e65dcfe2044259c4f7de05043b980.tar.bz2
advent-of-code-5a44bc3f6c4e65dcfe2044259c4f7de05043b980.zip
2022-22 part 1 in js
Diffstat (limited to '')
-rw-r--r--2022/22-Monkey-Map/.eslintrc.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/2022/22-Monkey-Map/.eslintrc.json b/2022/22-Monkey-Map/.eslintrc.json
new file mode 100644
index 0000000..47dd5e6
--- /dev/null
+++ b/2022/22-Monkey-Map/.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",
+ "single"
+ ],
+ "semi": [
+ "error",
+ "always"
+ ],
+ "node/no-unsupported-features/es-syntax": [
+ "error",
+ { "ignores": ["modules"] }
+ ]
+ }
+}