stylelint-react-native:用于 stylelint 的 React Native 特定 linting 规则的集合(以插件的形式)

时间:2021-07-23 22:00:21
【文件属性】:
文件名称:stylelint-react-native:用于 stylelint 的 React Native 特定 linting 规则的集合(以插件的形式)
文件大小:129KB
文件格式:ZIP
更新时间:2021-07-23 22:00:21
stylelint react-native linter-plugin JavaScript stylelint-react-native 用于的 React Native 特定规则的(以插件的形式)。 安装使用 安装stylelint-react-native (和stylelint ,如果你还没有这样做): yarn add stylelint stylelint-react-native --dev 要么 npm install stylelint stylelint-react-native --save-dev 创建.stylelintrc配置文件(或打开现有的),将stylelint-react-native添加到 plugins 数组,并将您需要的规则添加到规则列表中。 stylelint-react-native所有规则都需要使用react-native命名空间。 { " plugins " : [ " stylelint-react-native "
【文件预览】:
stylelint-react-native-master
----.gitignore(44B)
----package.json(3KB)
----src()
--------index.js(262B)
--------utils()
--------rules()
----LICENSE(1KB)
----CHANGELOG.md(1KB)
----.github()
--------workflows()
----.prettierignore(31B)
----README.md(4KB)
----jest-setup.js(4KB)
----.editorconfig(207B)
----yarn.lock(277KB)

网友评论