Skip to content

Commit

Permalink
Merge pull request #135 from papidb/chore/integrate-eslint
Browse files Browse the repository at this point in the history
Integrate eslint in codebase
  • Loading branch information
Vexu authored Sep 20, 2023
2 parents 4059643 + 5f14401 commit d631d6f
Show file tree
Hide file tree
Showing 10 changed files with 3,075 additions and 440 deletions.
41 changes: 41 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}
Loading

0 comments on commit d631d6f

Please sign in to comment.