Created
July 26, 2019 14:04
-
-
Save zeusdeux/31467d8c69602ac38859af0e39457255 to your computer and use it in GitHub Desktop.
eslint override ordering example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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