-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
const stylelint = require('stylelint');
const code = `
import { StyleSheet } from 'react-native';
StyleSheet.create({
foo: {
COLR: 'red'
}
})
`;
const options = {
config: {
rules: {
'react-native/style-property-no-unknown': true,
},
plugins: ['stylelint-react-native'],
},
code,
syntax: 'css-in-js',
};
stylelint.lint(options).then((output) => {
console.log(output.results[0].warnings); // []
});Did i do something wrong?
MatthewPattell, a-tokyo and talaikis
Metadata
Metadata
Assignees
Labels
No labels