@sylphlab/eslint-config-sylph-rn
Version:
React Native ESLint Flat Config for SylphLab projects.
2 lines • 570 B
JavaScript
import t from"eslint-plugin-react-native";import{react as e}from"@sylphlab/eslint-config-sylph-react";var r=[...e,{files:["**/*.{js,jsx,ts,tsx}"],plugins:{"react-native":t},languageOptions:{globals:{}},rules:{...t.configs.all.rules,"react-native/no-unused-styles":"error","react-native/split-platform-components":"warn","react-native/no-inline-styles":"warn","react-native/no-color-literals":"warn","react-native/no-raw-text":["error",{skip:["CustomTextComponent"]}],"react-native/sort-styles":"off"}}],o=r;export{o as default,r as rn};
//# sourceMappingURL=index.js.map