aboutsummaryrefslogtreecommitdiff
path: root/2022/20-Grove-Positioning-System/.eslintrc.json
diff options
context:
space:
mode:
authorJulien Dessaux2022-12-31 01:15:20 +0100
committerJulien Dessaux2022-12-31 01:15:20 +0100
commitb7a31cc6887bd15769bfdf75f36003869b2561a5 (patch)
tree46f551bc7e3631aa49f10b8518297fcd1f20a099 /2022/20-Grove-Positioning-System/.eslintrc.json
parent2022-19 in js (diff)
downloadadvent-of-code-b7a31cc6887bd15769bfdf75f36003869b2561a5.tar.gz
advent-of-code-b7a31cc6887bd15769bfdf75f36003869b2561a5.tar.bz2
advent-of-code-b7a31cc6887bd15769bfdf75f36003869b2561a5.zip
2022-20 in js
Diffstat (limited to '')
-rw-r--r--2022/20-Grove-Positioning-System/.eslintrc.json44
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"] }
+ ]
+ }
+}