diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..ecc9779 --- /dev/null +++ b/.eslintignore @@ -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 diff --git a/package.json b/package.json index 12c9d59..f1189b9 100644 --- a/package.json +++ b/package.json @@ -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" } diff --git a/src/web/index.ts b/src/web/index.ts new file mode 100644 index 0000000..4171549 --- /dev/null +++ b/src/web/index.ts @@ -0,0 +1 @@ +export const a = 1 diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 7bbea70..7d59231 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,6 +1,4 @@ { "extends": "./tsconfig.json", - "include": [ - ".eslintrc.js" - ] -} \ No newline at end of file + "include": ["src/**/*", ".eslintrc.js", ".prettierrc.js"] +}