eslint setup

This commit is contained in:
Spedon
2023-03-09 09:06:00 +08:00
parent 0b0a7ff3ef
commit 0673bd6eef
3 changed files with 2294 additions and 0 deletions

15
.eslintrc.js Normal file
View File

@@ -0,0 +1,15 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true
},
extends: [
'standard'
],
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
}
}