-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Ahmed Tarek edited this page Mar 20, 2017
·
2 revisions
How Plural paints its code;
The linter requires eslint, and react, react-native eslint plugins, to install them run:
npm install eslint eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-native --save-dev
Then install eslint-config-plural by runnig:
npm install eslint-config-plural --save-dev
In your eslintrc (or its equivalent) add
...
"extends": "plural",
"plugins": [
"react",
"react-native"
],
...
eslint-config-plural extends airbnb-base style guide, appending our artistic rules
- es6
- react
- react native
Check the changelog for version details.
Built with ❤️ in California