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

Lint JS files inside "resources" folder #1871

Merged
merged 1 commit into from May 19, 2019
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
15 changes: 15 additions & 0 deletions .eslintrc.yml
Expand Up @@ -356,3 +356,18 @@ overrides:
- files: "**/__tests__/**"
rules:
no-restricted-syntax: off
- files: "resources/**"
parserOptions:
sourceType: script
rules:
no-console: off
no-sync: off
global-require: off
no-var: off #TODO
no-shadow: off #TODO
vars-on-top: off #TODO
no-unused-vars: off #TODO
no-else-return: off #TODO
object-shorthand: off #TODO
no-inner-declarations: off #TODO
prettier/prettier: off #TODO
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -27,7 +27,7 @@
"test:ci": "yarn check --integrity && npm run lint -- --no-cache && npm run check && npm run testonly:cover",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc npm run testonly",
"lint": "eslint --cache --report-unused-disable-directives src",
"lint": "eslint --cache --report-unused-disable-directives src resources",
"benchmark": "node ./resources/benchmark.js",
"prettier": "prettier --write --list-different 'src/**/*.js'",
"check": "flow check",
Expand Down