Created
April 6, 2021 13:57
-
-
Save gdhardy1/eae29a5c33c90691859578095f7329bc to your computer and use it in GitHub Desktop.
allow all caps for eslint-plugin-react PascalCase warning
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
// .eslintrc.js | |
module.exports = { | |
globals: { | |
__PATH_PREFIX__: true, | |
}, | |
extends: `react-app`, | |
rules:{ | |
"react/jsx-pascal-case": [1, {allowAllCaps: true}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment