Skip to content

Commit

Permalink
fix(prettier): 🐛 import order
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Feb 26, 2023
1 parent 661d233 commit 5df08d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ module.exports = {
// Plugins
plugins: [
require("prettier-plugin-pkg"),
require("@ianvs/prettier-plugin-sort-imports"),
require("prettier-plugin-tailwindcss"),
// Should always be last
require("@ianvs/prettier-plugin-sort-imports"),
],

pluginSearchDirs: false,
Expand Down
5 changes: 1 addition & 4 deletions release-it/getCommitsSinceLastRelease.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
// Octokit.js
// https://github.com/octokit/core.js#readme

import fs from "fs";
import { createRequire } from "node:module";
import { Octokit } from "@octokit/core";
import dedent from "dedent";
import * as dotenv from "dotenv";
import { execa } from "execa";
import gitRemoteOriginUrl from "git-remote-origin-url";
import GitUrlParse from "git-url-parse";

import * as dotenv from "dotenv";
// see https://github.com/motdotla/dotenv#how-do-i-use-dotenv-with-import
dotenv.config();

Expand Down

1 comment on commit 5df08d1

@vercel
Copy link

@vercel vercel bot commented on 5df08d1 Feb 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.