Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thezzisu committed Jan 23, 2021
1 parent 229aff5 commit decd15f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
22 changes: 22 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
lib-cov
coverage
bower_components
node_modules/
jspm_packages/
.npm
.eslintcache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
.cache
.next
.nuxt
dist
.cache/
.vuepress/dist
.serverless/
.fusebox/
.dynamodb/
/build
/data
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"typeorm": "^0.2.30"
},
"scripts": {
"lint": "yarn eslint && yarn prettier --check .",
"lint:fix": "yarn eslint --fix && yarn prettier --write .",
"lint": "yarn eslint . && yarn prettier --check .",
"lint:fix": "yarn eslint . --fix && yarn prettier --write .",
"build": "yarn tsc",
"build:watch": "yarn tsc --watch"
}
Expand Down
1 change: 1 addition & 0 deletions src/web/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const a = 1
6 changes: 2 additions & 4 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"extends": "./tsconfig.json",
"include": [
".eslintrc.js"
]
}
"include": ["src/**/*", ".eslintrc.js", ".prettierrc.js"]
}

0 comments on commit decd15f

Please sign in to comment.