Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
added prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn226 committed Nov 8, 2023
1 parent 14d6ec5 commit e174a81
Show file tree
Hide file tree
Showing 3 changed files with 3,033 additions and 101 deletions.
44 changes: 31 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"jest": true
},
"extends": "standard",
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
}
}
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"jest": true
},
"plugins": ["prettier"],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"standard",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"printWidth": 120,
"tabWidth": 2,
"semi": false
}
],
"camelcase": "off"
}
}
Loading

0 comments on commit e174a81

Please sign in to comment.