Skip to content

Instantly share code, notes, and snippets.

@zeusdeux
Created July 26, 2019 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeusdeux/31467d8c69602ac38859af0e39457255 to your computer and use it in GitHub Desktop.
Save zeusdeux/31467d8c69602ac38859af0e39457255 to your computer and use it in GitHub Desktop.
eslint override ordering example
module.exports = {
...
overrides: [
{
files: ['src/**/*.js'],
rules: {
'some-rule': 'error',
'some-other-rule': 'error'
}
},
{
files: ['src/svg/**/*.js'],
rules: {
'some-other-rule': 'off'
}
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment