diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-16 15:53:08 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-16 15:53:08 +0000 |
commit | 1d6b3cc7f6a93639e2a5594ef60f06e1604fc5e6 (patch) | |
tree | f16785a6969b814ac4859e1d78df24cbd1b2a5b4 /.eslintrc.js | |
parent | 07f7ad04b5542a17206e340e12da7a9ce26399d0 (diff) | |
parent | fb1cbcf2ce2da898e1c587866ff67da946667ca3 (diff) | |
download | 1989-dawn-of-freedom-1d6b3cc7f6a93639e2a5594ef60f06e1604fc5e6.tar.gz |
Merge branch 'main' of https://github.com/iainp5/1989-Dawn-of-Freedom
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..54e057e --- /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", "varsIgnorePattern": "^[CS]_", "argsIgnorePattern": "^_" } ], + }, +} |