Skip to content

Commit

Permalink
Auto-format with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Brylie Christopher Oxley committed Jun 2, 2021
1 parent 40dda7f commit e4b24b9
Show file tree
Hide file tree
Showing 57 changed files with 3,146 additions and 2,938 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
singleQuote: true,
semi: true,
}
trailingComma: 'all',
}
8 changes: 4 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const IN_PRODUCTION = process.env.NODE_ENV === 'production'
const IN_PRODUCTION = process.env.NODE_ENV === 'production';

module.exports = {
plugins: [
Expand All @@ -9,12 +9,12 @@ module.exports = {
const contentWithoutStyleBlocks = content.replace(
/<style[^]+?<\/style>/gi,
'',
)
);
return (
contentWithoutStyleBlocks.match(
/[A-Za-z0-9-_/:]*[A-Za-z0-9-_/]+/g,
) || []
)
);
},
safelist: [
/-(leave|enter|appear)(|-(to|from|active))$/,
Expand All @@ -37,4 +37,4 @@ module.exports = {
],
}),
],
}
};
Loading

0 comments on commit e4b24b9

Please sign in to comment.