You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue when I enable linting with Lab; my local eslint config file isn't used unless I use the .eslintrc format. The problem with this is that I want to use the .eslintrc.js format instead since using .eslintrc is being depecrated by eslint.
To see this issue in action, look at this branch on my repo. Run npm test and notice that there are linting issues for rules I customized in my .eslintrc.js file.
What's happening is that Lab only checks to see if an .eslintrc file exists in the project, and if it doesn't exist then it uses Lab's default rules. So if any other config file format is being used, Lab will ignore that file and use the defaults.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm having an issue when I enable linting with Lab; my local eslint config file isn't used unless I use the .eslintrc format. The problem with this is that I want to use the .eslintrc.js format instead since using .eslintrc is being depecrated by eslint.
To see this issue in action, look at this branch on my repo. Run
npm test
and notice that there are linting issues for rules I customized in my .eslintrc.js file.What's happening is that Lab only checks to see if an .eslintrc file exists in the project, and if it doesn't exist then it uses Lab's default rules. So if any other config file format is being used, Lab will ignore that file and use the defaults.
I made a pull request that fixes this issue here.
The text was updated successfully, but these errors were encountered: