Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ESLint on the entire repo #2667

Merged
merged 1 commit into from Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions .eslintignore
@@ -0,0 +1,13 @@
# Copied from '.gitignore', please keep it in sync.
.eslintcache
node_modules
coverage
npmDist
denoDist
benchmarkDist
integrationTmp
npm
deno

# Ignore TS files inside integration test
integrationTests/ts/*.ts
1 change: 0 additions & 1 deletion .eslintrc.yml
Expand Up @@ -488,7 +488,6 @@ rules:
wrap-regex: off
yield-star-spacing: off

ignorePatterns: 'integrationTests/ts/*.ts'
overrides:
- files: '**/*.ts'
parser: '@typescript-eslint/parser'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -33,7 +33,7 @@
"changelog": "node resources/gen-changelog.js",
"benchmark": "node --noconcurrent_sweeping --expose-gc --predictable ./resources/benchmark.js",
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling && npm run build:npm && npm run build:deno && npm run check:integrations",
"lint": "eslint --cache --ext .js,.ts src resources integrationTests",
"lint": "eslint --cache .",
"check": "flow check",
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
Expand Down