Skip to content

Commit

Permalink
chore: 🧑‍💻 switch to nuxt eslint config module
Browse files Browse the repository at this point in the history
  • Loading branch information
RihanArfan committed Jan 20, 2024
1 parent 37d3c87 commit 931266d
Show file tree
Hide file tree
Showing 6 changed files with 6,785 additions and 2,921 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintrc.cjs

This file was deleted.

5 changes: 5 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @ts-check
import NuxtEslintConfig from "./.nuxt/eslint.config.mjs";
import eslintConfigPrettier from "eslint-config-prettier";

export default [...NuxtEslintConfig, eslintConfigPrettier];
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineNuxtConfig({
"@vite-pwa/nuxt",
"@nuxtjs/google-fonts",
"@nuxtjs/fontaine",
"nuxt-module-eslint-config",
],

googleFonts: {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "bereal",
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand Down Expand Up @@ -35,16 +36,16 @@
},
"devDependencies": {
"@nuxt/devtools": "^1.0.8",
"@nuxt/eslint-config": "^0.2.0",
"@nuxtjs/fontaine": "^0.4.1",
"@nuxtjs/google-fonts": "^3.1.3",
"@tanstack/eslint-plugin-query": "^5.17.7",
"@types/eslint-config-prettier": "^6.11.3",
"@vite-pwa/nuxt": "^0.4.0",
"@vueuse/nuxt": "^10.7.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"nuxt": "^3.9.2",
"nuxt-auto-parallel-plugins": "^1.0.0",
"nuxt-module-eslint-config": "^0.0.2",
"prettier": "^3.2.2",
"prettier-plugin-tailwindcss": "^0.5.11"
},
Expand Down
Loading

0 comments on commit 931266d

Please sign in to comment.