diff options
author | Yuchen Pei <hi@ypei.me> | 2022-04-06 17:35:05 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-04-07 12:18:45 +1000 |
commit | 34bcc1a5c2750b6f6fa9d9b971ac8aff796ddd1c (patch) | |
tree | 8e2a4e27fd168c45bb9a5157e172822258417d13 /.eslintrc.js | |
parent | 2e10129fa088584af25dcb34834551380e8f4521 (diff) |
linting
- eslint
- also adding eslintrc
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..d48f883 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,17 @@ +module.exports = { + "env": { + "browser": true, + "commonjs": true, + "es2021": true, + "node": true, + "webextensions": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": "latest" + }, + "rules": { + "quotes": ["error", "single"], + "no-console": ["off"] + } +} |