Skip to content

Commit

Permalink
chore: Setup eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed May 25, 2022
1 parent 93d50f2 commit 817efc3
Show file tree
Hide file tree
Showing 5 changed files with 2,355 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
}
}
4 changes: 3 additions & 1 deletion .github/workflows/format.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Static analysis - Check format
name: Test
on:
push:
paths:
Expand All @@ -22,3 +22,5 @@ jobs:
run: npm install
- name: Check format
run: npm run format-check
- name: Lint
run: npm run lint

0 comments on commit 817efc3

Please sign in to comment.