Skip to content

Commit

Permalink
feat: update eslint to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Dec 18, 2024
1 parent 85edc4e commit eee2dda
Show file tree
Hide file tree
Showing 36 changed files with 5,813 additions and 6,105 deletions.
24 changes: 0 additions & 24 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: weekly
interval: weekly
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
- name: Run linter
run: pnpm lint

- name: Run formatter
- name: Run formatter
run: pnpm format

- name: Run unit tests
run: pnpm test:unit
- name: Run unit tests
run: pnpm test:unit

- name: Run build
run: pnpm build

- name: Run build
run: pnpm build

- name: Run build storybook
run: pnpm build-storybook
run: pnpm build-storybook
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
pnpm-lock.yaml
*.log*
.env
dist
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ wit-vue-ui is a vue component library with components intented to use in the wit

## Installation


```bash
pnpm install wit-vue-ui
pnpm install wit-vue-ui
```

## Usage
Expand All @@ -33,4 +32,4 @@ Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
[MIT](https://choosealicense.com/licenses/mit/)
248 changes: 248 additions & 0 deletions email.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
<div
id=":13a"
class="Am aiL Al editable LW-avf tS-tW"
hidefocus="true"
aria-label="Cuerpo del mensaje"
g_editable="true"
role="textbox"
aria-multiline="true"
contenteditable="true"
tabindex="1"
style="direction: ltr; /* min-height: 293px; */ height: auto; width: max-content"
itacorner="6,7:1,1,0,0"
spellcheck="false"
aria-owns=":15p"
aria-controls=":15p"
aria-expanded="false"
>
<span
id="gmail-docs-internal-guid-033684cd-7fff-704e-19c2-e11440928fb7"
style="/* height: max-content; */ /* width: auto; */"
><p dir="ltr" style="line-height: 1.2; /* margin-top: 18pt; */ margin-bottom: 0pt">
<span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
><span
style="border: none; display: inline-block; overflow: hidden; width: 123px; height: 28px"
><img
src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeUPlQLcDQPl9RTdB0RvJxBUXEIGY59--BK215Wuklvnjm7P8D7xw1ziz8yJIfdYVOzmheXNiU62pa2rM8NWqp3ChXoSF9RcoCjNw3xxDsR0g_v61rjGn2P1wB9JWMIzlGBJFn6WlWMgUO23fxvtwdlseHU?key=y7u_Np_RG2mvmCZf4S4rog"
width="123"
height="28"
style="margin-left: 0px; margin-top: 0px" /></span></span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
><span
style="border: none; display: inline-block; overflow: hidden; width: 163px; height: 28px"
><img
src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc5TD0419UrZDfAFNCA4HKNU5kBBBPPh0abX24F9AHsNC1qb1rOSWRYCHCOlsgxVc_mIgwhG0yUrTJ9sulkKSO828x8uPDUOHxEOT-PuRtpc7GamyCPozjPaL9wiBEnsr1mOOwg6pLhCQKWzwuYRy7GGBHL?key=y7u_Np_RG2mvmCZf4S4rog"
width="163"
height="28"
style="margin-left: 0px; margin-top: 0px" /></span></span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(0, 0, 0);
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp;&nbsp;</span
>
</p>
<p dir="ltr" style="line-height: 1.2; margin-top: 10pt; margin-bottom: 10pt">
<span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(0, 0, 0);
background-color: transparent;
font-weight: 700;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp;Daniel Hernández </span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(0, 0, 0);
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp;| </span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(153, 153, 153);
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>Co-Founder &amp; CEO</span
>
</p>
<p dir="ltr" style="line-height: 1.2; margin-top: 10pt; margin-bottom: 10pt">
<span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(153, 153, 153);
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp;</span
><a href="https://www.esignus.com/" style="text-decoration-line: none"
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(0, 0, 0);
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>esginus.com</span
></a
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(0, 0, 0);
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp; </span
><a href="http://gethashwallet.com/" style="text-decoration-line: none"
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
color: rgb(0, 0, 0);
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>gethashwallet.com</span
></a
>
</p>
<span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp;</span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
><span
style="border: none; display: inline-block; overflow: hidden; width: 27px; height: 27px"
><img
src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcZrioq8fZKrTnWB6enPEd5hlOB6W-3pZ0HfkJ-4cdmf5AiMuitK7ZHYwwnFZWBWR5MPJmv8_VRWdUAnX-m9-kQ7eSwitBFqJSqEUrCit4wqAdB1uy_Gh1_8JXCFXnvZ_woS3tMWgRLVWgBdB_mWhZ6ECxd?key=y7u_Np_RG2mvmCZf4S4rog"
width="27"
height="27"
style="margin-left: 0px; margin-top: 0px" /></span></span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
>&nbsp;</span
><span
style="
font-size: 11pt;
font-family: Arial, sans-serif;
background-color: transparent;
font-variant-numeric: normal;
font-variant-east-asian: normal;
font-variant-alternates: normal;
font-variant-position: normal;
vertical-align: baseline;
white-space-collapse: preserve;
"
><span
style="border: none; display: inline-block; overflow: hidden; width: 27px; height: 27px"
><img
src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe48E3_z4FoPoSDyZwYSTX-S4Rxvur_LmDIZnho8CHBGWs3KBDmJzmofPqOFAW56JESeOkmCvtWao5-XToFJxo-L4SUUjnUjJnikZM5Bo_loGinz6prw2X9j2uM8mXo4zgW3vqxqY2iUAiZ_HM5Z6WMxjZg?key=y7u_Np_RG2mvmCZf4S4rog"
width="27"
height="27"
style="margin-left: 0px; margin-top: 0px" /></span></span></span
><br />
</div>
51 changes: 51 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import globals from 'globals/index.js'
import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import eslintConfigPrettier from 'eslint-config-prettier'
import storybook from 'eslint-plugin-storybook'

export default [
pluginJs.configs.recommended,
...tseslint.configs.recommended,
...pluginVue.configs['flat/strongly-recommended'],
...storybook.configs['flat/recommended'],
eslintConfigPrettier,
{
ignores: ['package/dist/**', 'dist', '!.storybook']
},
{
files: ['pages/*.vue'],
rules: {
'vue/multi-word-component-names': 0,
'vue/html-self-closing': [
'error',
{
html: {
void: 'always',
normal: 'always',
component: 'always'
},
svg: 'always',
math: 'always'
}
]
}
},
{
files: ['**/*.vue', '**/*.ts'],
languageOptions: {
globals: {
...globals.browser,
...globals.node
},
parserOptions: {
parser: {
ts: tseslint.parser
},
ecmaVersion: 2020,
sourceType: 'module'
}
}
}
]
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href="https://fonts.googleapis.com/css2?family=Outfit:[email protected]&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" />
<link
rel="preload"
as="style"
onload="this.onload=null;this.rel='stylesheet'"
href="https://fonts.googleapis.com/css2?family=Outfit:[email protected]&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
Expand Down
Loading

0 comments on commit eee2dda

Please sign in to comment.