Skip to content

Commit

Permalink
AT-10925: switched back to the eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rddimon committed Dec 5, 2023
1 parent 250540b commit 5b17f01
Show file tree
Hide file tree
Showing 15 changed files with 3,587 additions and 1,348 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
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,
"commonjs": true,
"node": true,
"mocha": true
},
"extends": [
"standard",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"arrow-parens": [
"error",
"always"
],
"complexity": [
"error",
15
],
"guard-for-in": "error"
}
}
Loading

0 comments on commit 5b17f01

Please sign in to comment.