-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix ESLint Test #1890
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
base: gh-pages
Are you sure you want to change the base?
Fix ESLint Test #1890
Conversation
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -3,7 +3,7 @@ | |||
"version": "0.0.0", | |||
"private": true, | |||
"scripts": { | |||
"test": "eslint --ignore-path .gitignore --ignore-pattern _includes/readmes/ \"**/*.md\"" | |||
"test": "eslint . --ignore-path .gitignore --ignore-pattern _includes/readmes/ \"**/*.md\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.md
files are currently part of the --ignore-pattern
. Should this exclusion be removed from the test script?
When the ignore-pattern is removed there are another 261 errors that could be fixed. Right now the test doesn't enforce the .md
lint rules.
@@ -3,7 +3,7 @@ | |||
"version": "0.0.0", | |||
"private": true, | |||
"scripts": { | |||
"test": "eslint --ignore-path .gitignore --ignore-pattern _includes/readmes/ \"**/*.md\"" | |||
"test": "eslint . --ignore-path .gitignore --ignore-pattern _includes/readmes/ \"**/*.md\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the .
, ESLint doesn't actually run on any files.
test
script whereeslint
wasn't running over any files.browser
andjquery
as environments so their variables are seen as defined.