summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-19 13:42:57 +0100
committerTor Andersson <tor@ccxvii.net>2024-05-30 17:19:32 +0200
commitce3c0c5a53065dce83d0b29a6a10962c489c4e40 (patch)
tree496bff345080021370e0f57e81b858568dcd6ff2 /.eslintrc.js
parent8e7527494695453454a8aeb097808ee9174774e2 (diff)
downloadfriedrich-ce3c0c5a53065dce83d0b29a6a10962c489c4e40.tar.gz
SKELETON
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..b591bdc
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,17 @@
+module.exports = {
+ env: {
+ browser: true,
+ commonjs: true,
+ es2021: true,
+ },
+ extends: "eslint:recommended",
+ parserOptions: {
+ ecmaVersion: "latest",
+ },
+ rules: {
+ "no-constant-binary-expression": "error",
+ indent: [ "warn", "tab", { SwitchCase: 1 } ],
+ semi: [ "error", "never" ],
+ "no-unused-vars": [ "error", { "vars": "all", "args": "all", "argsIgnorePattern": "^_" } ],
+ },
+}