@code-quality/stylelint-styled-components-react-native-config

The style lint react native config you have been looking for.

Usage no npm install needed!

<script type="module">
  import codeQualityStylelintStyledComponentsReactNativeConfig from 'https://cdn.skypack.dev/@code-quality/stylelint-styled-components-react-native-config';
</script>

README

Actions Status

StyleLint Styled Components Config React Native

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

Install

yarn add stylelint @code-quality/stylelint-styled-components-react-native-config -D

Usage

The shareable config can be configured in the stylelint configuration file:

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

module.exports = {
  extends: [
    '@code-quality/stylelint-styled-components-react-native-config',
  ],
}