Skip to content

Commit

Permalink
add valid test
Browse files Browse the repository at this point in the history
  • Loading branch information
mellyeliu committed Dec 10, 2024
1 parent 5a3842d commit cc2c16c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/eslint-plugin/__tests__/stylex-valid-styles-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@ eslintTester.run('stylex-valid-styles', rule.default, {
}
});
`,
`
import stylex from "stylex";
const styles = stylex.create({
validStyle: {
marginInlineStart: "10px",
marginInlineEnd: "5px",
marginInline: "15px",
marginBlock: "20px",
paddingInlineStart: "8px",
paddingInlineEnd: "12px",
paddingInline: "10px",
paddingBlock: "16px",
},
});
`,
`
import stylex from 'stylex';
const start = 'start';
Expand Down

0 comments on commit cc2c16c

Please sign in to comment.