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

Ignore node_modules and bower_components folder by linting eslint, stylelint, tslint, and htmlhint . #49

Open
neerajsachan opened this issue Oct 10, 2016 · 2 comments
Assignees
Labels

Comments

@neerajsachan
Copy link
Collaborator

neerajsachan commented Oct 10, 2016

When ignore the node_modules and bower_components folder by linting eslint, stylelint, tslint, htmlhint. Firstly create the .lintignore file and then add the node_modules and bower_components in .lintignore file then we add the ignorePath: "./.lintignore" in options object like
{ options: { ignorePath: "./.lintignore" }
in the stylelint.js file and same as eslint add the extra line quite: true, in options in the eslint.js file.
but tslint and the htmllint is not working .

@gaurav21r
Copy link
Member

Alright. Please also mention in which linters this is not working and our specific test case

@gaurav21r gaurav21r assigned neerajsachan and unassigned gaurav21r Oct 11, 2016
@neerajsachan
Copy link
Collaborator Author

neerajsachan commented Nov 2, 2016

The issues of linters have been already been mentioned. Please check the issue mentioned earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants