Skip to content

Commit

Permalink
refactor: upgrade prettier and format code accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethaasan committed Apr 24, 2024
1 parent 6ce4d42 commit 68ce2e1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tasks:
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
- port: 3000
onOpen: open-preview
onOpen: open-preview
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ lerna-debug.log*
/.github

playground/.next/
playground/out/
2 changes: 1 addition & 1 deletion library/e2e/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ const webpackOptions = {
},
};

module.exports = on => {
module.exports = (on) => {
on('file:preprocessor', wp({ webpackOptions }));
};
2 changes: 1 addition & 1 deletion library/loaders/remove-hashbag-loader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Make sure code does not contain properties such as `#property`
*/
module.exports = function(source) {
module.exports = function (source) {
return source.replace(/^#! .*\n/, '');
};
4 changes: 2 additions & 2 deletions library/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ module.exports = {
'5xl': '3rem',
'6xl': '4rem',
},
borderColor: theme => ({
borderColor: (theme) => ({
...theme('colors'),
DEFAULT: theme('colors.gray.400', 'currentColor'),
}),
extend: {
typography: theme => ({
typography: (theme) => ({
DEFAULT: {
css: {
pre: {
Expand Down
4 changes: 2 additions & 2 deletions library/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
.BundleAnalyzerPlugin;
const BundleAnalyzerPlugin =
require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

const umdBundle = {
Expand Down

0 comments on commit 68ce2e1

Please sign in to comment.