Skip to content

Commit

Permalink
fix(eslint): disable accessible-emoji rule for RN projects
Browse files Browse the repository at this point in the history
fix #8
  • Loading branch information
Jonathan Dierckens committed Nov 19, 2018
1 parent 8969c59 commit 1f3e7d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"all-contributors-cli": "^5.0.0",
"arrify": "^1.0.1",
"babel-cli": "^7.0.0-0",
"babel-eslint": "^9.0.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-plugin-macros": "^2.3.0",
"babel-plugin-minify-dead-code-elimination": "^0.4.0",
Expand Down
1 change: 1 addition & 0 deletions src/config/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
].filter(Boolean),
parser: ifAnyDep(['babel-cli', 'babel-core', 'babel-eslint', 'babel-loader'], 'babel-eslint'),
rules: {
...ifAnyDep('react-native', { 'jsx-a11y/accessible-emoji': 'off' }),
'no-use-before-define': [
'error',
{
Expand Down

0 comments on commit 1f3e7d1

Please sign in to comment.