Skip to content

Commit

Permalink
add eslint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiazya committed Jul 22, 2021
1 parent bf7ebcd commit f8352e9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 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
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parser": "@typescript-eslint/parser",
"env": {
"jest/globals": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".ts"
]
}
}
},
"plugins": [
"@typescript-eslint",
"prettier",
"jest"
],
"extends": [
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended"
],
"rules": {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/camelcase": "off",
"prettier/prettier": "error",
"import/extensions": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off"
}
}

0 comments on commit f8352e9

Please sign in to comment.