Skip to content

Commit

Permalink
Update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Oct 16, 2020
1 parent c76aae5 commit e3ed127
Show file tree
Hide file tree
Showing 146 changed files with 288 additions and 289 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"useTabs": false,
"trailingComma": "es5",
"bracketSpacing": true,
"parser": "flow"
"parser": "flow",
"arrowParens": "avoid"
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions __tests__/darkMode.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ test('user-defined dark mode variants do not stack when the dark mode experiment
}
`

const userPlugin = createPlugin(function({ addVariant }) {
addVariant('dark', function({ modifySelectors }) {
modifySelectors(function({ className }) {
const userPlugin = createPlugin(function ({ addVariant }) {
addVariant('dark', function ({ modifySelectors }) {
modifySelectors(function ({ className }) {
return `.custom-dark .custom-dark\\:${className}`
})
})
Expand Down
2 changes: 1 addition & 1 deletion __tests__/layerAtRule.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test('layers are grouped and inserted at the matching @tailwind rule', () => {

return run(input, {
plugins: [
function({ addBase, addComponents, addUtilities }) {
function ({ addBase, addComponents, addUtilities }) {
addBase({
body: {
margin: 0,
Expand Down
Loading

0 comments on commit e3ed127

Please sign in to comment.