codfish/eslint-config-codfish

Add overrides for config files

codfish opened this issue ยท 1 comments

for things like linting or jest files, certain rules should not apply since they only run in a dev context, so things like import/no-extraneous-dependencies could be turned off

overrides: [{
    files: ['commitlint.config.js', '.commitlintrc.js', 'jest.config.js', '.eslintrc.js'], // etc
    rules: {
      'import/no-extraneous-dependencies': 'off'
    }
  }]

๐ŸŽ‰ This issue has been resolved in version 5.1.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€