Our eslint shareable config for Node, React and React-Native
npm i -D eslint eslint-config-mostaza eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
Also, for ES6++ syntax:
npm i -D babel-eslint
Update your .eslintrc
:
{
"extends": "eslint-config-mostaza",
"parser": "babel-eslint"
}