aboutsummaryrefslogtreecommitdiff
path: root/2022/21-Monkey-Math/.eslintrc.json
diff options
context:
space:
mode:
authorJulien Dessaux2022-12-31 17:04:04 +0100
committerJulien Dessaux2022-12-31 17:33:31 +0100
commit7a7a788a11c0f6508837a32c4332545870eca653 (patch)
tree9935c154ae6ba2f10dc55fa95e919f5a1628ee67 /2022/21-Monkey-Math/.eslintrc.json
parent2022-20 in js (diff)
downloadadvent-of-code-7a7a788a11c0f6508837a32c4332545870eca653.tar.gz
advent-of-code-7a7a788a11c0f6508837a32c4332545870eca653.tar.bz2
advent-of-code-7a7a788a11c0f6508837a32c4332545870eca653.zip
2022-21 part 1 in js
Diffstat (limited to '2022/21-Monkey-Math/.eslintrc.json')
-rw-r--r--2022/21-Monkey-Math/.eslintrc.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/2022/21-Monkey-Math/.eslintrc.json b/2022/21-Monkey-Math/.eslintrc.json
new file mode 100644
index 0000000..81e57d1
--- /dev/null
+++ b/2022/21-Monkey-Math/.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"] }
+ ]
+ }
+}