summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 0000000..dd249a7
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,10 @@
+module.exports = [
+ {
+ rules: {
+ "no-constant-binary-expression": "error",
+ indent: [ "warn", "tab", { SwitchCase: 0 } ],
+ semi: [ "error", "never" ],
+ "no-unused-vars": [ "error", { vars: "all", args: "all", argsIgnorePattern: "^_" } ],
+ },
+ },
+]