Skip to content

Commit

Permalink
Fix linting & format files
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Dec 17, 2024
1 parent c217980 commit 1ac85cc
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 85 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default antfu({
},
ignores: [
'css/*.css',
'examples/react-native/',
'iconoir.com/out/',
'**/.expo/',
'packages/iconoir-flutter/.dart_tool/',
'packages/iconoir-flutter/build/',
'packages/iconoir-flutter/example/',
Expand Down
10 changes: 5 additions & 5 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"lint": "next lint"
},
"dependencies": {
"next": "15.1.0",
"next": "15.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "^22",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/node": "^22.10.2",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"iconoir-react": "workspace:*",
"typescript": "^5"
"typescript": "^5.7.2"
}
}
4 changes: 2 additions & 2 deletions examples/vue/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script setup lang="ts">
import {
Check,
Iconoir,
IconoirProvider,
Medal1st,
Medal1stSolid,
IconoirProvider,
Check,
} from '@iconoir/vue';
</script>

Expand Down
4 changes: 2 additions & 2 deletions iconoir.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"@types/react-window": "^1.8.8",
"animejs": "^3.2.2",
"csvtojson": "^2.0.10",
"eslint-config-next": "^15.1.0",
"eslint-config-next": "^15.1.1",
"iconoir-react": "workspace:*",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"next": "^15.1.0",
"next": "^15.1.1",
"next-mdx-remote": "^5.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/iconoir-vue/src/IconoirProvider.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<script setup lang="ts">
import { provide } from 'vue-demi';
import type { SVGAttributes } from 'vue-demi';
import { provide } from 'vue-demi';
import providerKey from './providerKey';
interface Props {
iconProps: SVGAttributes;
}
const props = defineProps<Props>();
provide(providerKey, props.iconProps);
</script>

<template>
<slot />
</template>
Loading

0 comments on commit 1ac85cc

Please sign in to comment.