Skip to content

Commit

Permalink
fix(lint): 🚨 update linting config to work better
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Feb 25, 2023
1 parent cbdd5e8 commit 026a9a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,7 @@ const config = {
"plugin:@next/next/recommended",
"plugin:tailwindcss/recommended",
],
plugins: [
"import",
"jsx-a11y",
"react",
"@typescript-eslint",
"tailwindcss",
],
plugins: ["import", "jsx-a11y", "react", "@typescript-eslint"],
rules: {
// eslint core
// Allow console.log in development
Expand Down Expand Up @@ -172,7 +166,6 @@ const config = {
],
settings: {
tailwindcss: {
callee: ["clsx"],
config: "tailwind.config.cjs",
},
},
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ module.exports = {
// Plugins
plugins: [
require("prettier-plugin-pkg"),
require("prettier-plugin-tailwindcss"),
require("@ianvs/prettier-plugin-sort-imports"),
require("prettier-plugin-tailwindcss"),
],

pluginSearchDirs: false,
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Editor cursor
"editor.cursorWidth": 5,
"editor.cursorBlinking": "solid",
"editor.cursorSmoothCaretAnimation": true,
"editor.cursorSmoothCaretAnimation": "on",

// Editor Indents
"editor.renderWhitespace": "all",
Expand Down

1 comment on commit 026a9a9

@vercel
Copy link

@vercel vercel bot commented on 026a9a9 Feb 25, 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.