This package provides marketamerica | SHOP.COM React Native eslint config as an
extensible shared config. Our linting rules are based off of
eslint-config-ma-shop-react
and React Native specific rules.
npm install stylelint-config-ma-shop --save-dev
yarn add stylelint-config-ma-shop --dev
Add the following into your your package.json
"stylelint": {
"extends": [ "stylelint-config-ma-shop" ]
},
This config should always be use with prettier which is an opinionated code formatter that makes our code formatting consistent without having to be nitpicky on PRs.
See prettier setup for details on the configuration