Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 511 Bytes

File metadata and controls

19 lines (13 loc) · 511 Bytes

StyleLint CSS-in-JS React Native

stylelint modern linter that helps you avoid errors and enforce conventions in your styles for React Native applications.

Install

yarn add stylelint @linters/stylelint-css-in-js-react-native-config -D

Usage

Create a .stylelintrc.js file with the following contents:

module.exports = {
  extends: ['@linters/stylelint-css-in-js-react-native-config'],
}