Skip to content

Commit

Permalink
fix: standardize-linter to avoid lint issue (#62)
Browse files Browse the repository at this point in the history
* fix: standardize-linter to avoid lint issue

* remove eslint-config-standard package

* remove eslint-plugin-standard

* implement husky

* update-script

Co-authored-by: Harshith Raj <[email protected]>
  • Loading branch information
Harshith46 and Harshith Raj authored Jun 15, 2021
1 parent 57d83dd commit e919452
Show file tree
Hide file tree
Showing 4 changed files with 2,888 additions and 82 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": ["standard", "plugin:jest/recommended", "plugin:prettier/recommended", "prettier/standard"],
"plugins": ["standard", "jest"],
"parser": "babel-eslint",
"rules": {
"jest/valid-expect": 0,
"max-len": ["warn", { "code": 120 }]
}
}
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
printWidth: 120
Loading

0 comments on commit e919452

Please sign in to comment.