diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-24 12:42:26 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-24 12:42:26 +0100 |
commit | b514d08712dd7ed9b0c12f06ed6eaf1e99230e3c (patch) | |
tree | d7af8834031a02363bec5db3644a417f137e258e /.eslintrc.js | |
parent | d2f00514f9e3b078b322ee6f18d9b5edb3286d4f (diff) | |
download | red-flag-over-paris-master.tar.gz |
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 17 |
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": "^_" } ], + }, +} |