Skip to content

Commit

Permalink
chore: bump deps and re-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RichAyotte committed Apr 17, 2024
1 parent af8ed18 commit 3420f18
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 16 deletions.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 6 additions & 1 deletion components/section-features.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@

<script setup lang="ts">
import 'vue3-carousel/dist/carousel.css'
import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel/dist/carousel.es.js'
import {
Carousel,
Slide,
Pagination,
Navigation,
} from 'vue3-carousel/dist/carousel.es.js'
import bellConciergeSolid from '~/assets/images/bell-concierge-solid.svg'
import buildingColumns from '~/assets/images/building-columns-solid.svg'
Expand Down
21 changes: 18 additions & 3 deletions .eslintrc.cjs → eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
/* eslint-env node */
module.exports = {
import { FlatCompat } from '@eslint/eslintrc'
import path from 'path'
import { fileURLToPath } from 'url'
import js from '@eslint/js'

const dirname = path.dirname(fileURLToPath(import.meta.url))

const compat = new FlatCompat({
allConfig: js.configs.all,
baseDirectory: dirname,
recommendedConfig: js.configs.recommended,
resolvePluginsRelativeTo: dirname,
})

const config = {
env: {
browser: true,
es2021: true,
Expand All @@ -11,7 +24,7 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'plugin:prettier-vue/recommended',
],
ignorePatterns: ['package.json', 'package-lock.json', 'tsconfig.json'],
ignorePatterns: ['.nuxt'],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 'latest',
Expand Down Expand Up @@ -52,3 +65,5 @@ module.exports = {
],
},
}

export default compat.config(config)
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,33 @@
"dependencies": {
"@airgap/beacon-dapp": "^4.2.1",
"@kyvg/vue3-notification": "^3.2.1",
"@taquito/rpc": "^19.1.0",
"@taquito/rpc": "^19.2.0",
"vue3-carousel": "0.3.3"
},
"description": "bākꜩ - Tezos baking service",
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@nuxt/devtools": "^1.1.5",
"@nuxt/image": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"eslint": "^8.57.0",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^9.0.0",
"eslint-config-ayotte": "^3.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-prettier-vue": "^5.0.0",
"eslint-plugin-vue": "^9.24.0",
"eslint-plugin-vue": "^9.25.0",
"fs-extra": "^11.2.0",
"include-media": "^2.0.0",
"nuxt": "^3.11.2",
"prettier": "^3.2.5",
"sass": "^1.74.1",
"sass-loader": "^14.1.1",
"sass": "^1.75.0",
"sass-loader": "^14.2.1",
"vite-compatible-readable-stream": "^3.6.1",
"vue-eslint-parser": "^9.4.2",
"vue-tsc": "^2.0.10"
"vue-tsc": "^2.0.13"
},
"type": "module",
"engines": {
"bun": ">=1.0.21"
},
Expand Down
4 changes: 2 additions & 2 deletions plugins/wallet.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineNuxtPlugin(async () => {

const tezosNode = new RpcClient(
'https://mainnet.api.tez.ie',
'NetXdQprcVkpaWU'
'NetXdQprcVkpaWU',
)

const { DAppClient, TezosOperationType } = await import('@airgap/beacon-dapp')
Expand All @@ -32,7 +32,7 @@ export default defineNuxtPlugin(async () => {

if (activeAccount?.value?.address) {
const delegateAddress = await tezosNode.getDelegate(
activeAccount?.value?.address
activeAccount?.value?.address,
)
if (delegateAddress === baktzDelegateAddress) {
// do something
Expand Down
3 changes: 1 addition & 2 deletions prettier.config.cjs → prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-env node */
module.exports = {
export default {
printWidth: 80,
tabWidth: 1,
useTabs: true,
Expand Down

0 comments on commit 3420f18

Please sign in to comment.