Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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
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.