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

Commit

Permalink
build: add eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Feb 8, 2020
1 parent ac071fa commit 37a7846
Show file tree
Hide file tree
Showing 3 changed files with 846 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"ignorePatterns": ["node_modules"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
]
}
}
Loading

0 comments on commit 37a7846

Please sign in to comment.