-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from pulibrary/i17-18
Add eslint, prettier and eslint-accessibility.
- Loading branch information
Showing
16 changed files
with
983 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:vue/vue3-recommended", | ||
"plugin:vuejs-accessibility/recommended", | ||
"prettier" | ||
], | ||
"parser": "vue-eslint-parser", | ||
"parserOptions": { | ||
"parser": "@typescript-eslint/parser", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"vue/require-default-prop": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,32 @@ | ||
--- | ||
name: Accessibility | ||
about: Report an accessibility issue | ||
title: '' | ||
title: "" | ||
labels: accessibility general | ||
assignees: '' | ||
|
||
assignees: "" | ||
--- | ||
### Steps to recreate | ||
|
||
### Steps to recreate | ||
|
||
### URL | ||
|
||
|
||
### Issues | ||
|
||
|
||
### Severity | ||
|
||
|
||
### WCAG Conformance level (A, AA, AAA) | ||
|
||
|
||
### User impact | ||
|
||
|
||
### Recommended fix | ||
|
||
|
||
### Acceptance criteria | ||
|
||
- [ ] I can successfully use this feature with Voice Over in Safari. | ||
- [ ] I have checked this feature using one of the following browser extensions and confirmed that it does not add any level A or level AA issues: | ||
* axe dev tools | ||
* Lighthouse | ||
* Wave | ||
- axe dev tools | ||
- Lighthouse | ||
- Wave | ||
- [ ] ... | ||
|
||
### Notes | ||
### Notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
### Expected behavior | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
### Actual behavior | ||
|
||
Include screenshots, or links and browser version if relevant | ||
|
||
### Steps to replicate | ||
|
||
### Impact of this bug | ||
|
||
E.g. "I can't work until this is fixed" or "I have a workaround" | ||
|
||
### Honeybadger link and code snippet, if applicable | ||
|
||
``` | ||
``` | ||
|
||
### Implementation notes, if any | ||
### Implementation notes, if any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
--- | ||
name: Maintenance task | ||
about: Document some maintenance that needs to be done | ||
title: '' | ||
title: "" | ||
labels: maintenance | ||
assignees: '' | ||
|
||
--- | ||
assignees: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,46 @@ | ||
--- | ||
name: Add a New Bento UI Component | ||
about: Add a New Search Result Component to UI | ||
title: 'Add [Name] Component to UI' | ||
labels: '' | ||
assignees: '' | ||
|
||
title: "Add [Name] Component to UI" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
## Description | ||
|
||
What the component displays | ||
|
||
### All Search API Information | ||
|
||
What call you need to make to populate the component with results. | ||
|
||
### Supporting Service Documentation | ||
|
||
Other Background Information. | ||
|
||
### Labeling | ||
What heading should be used for the component. | ||
|
||
What heading should be used for the component. | ||
|
||
### Acceptance Criteria | ||
|
||
- [ ] Displays a heading | ||
- [ ] Display an icon next to the heading relevant to the component type (i.e a book for the catalog) | ||
- [ ] Displays up to three search results. | ||
- [ ] Displays up to three search results. | ||
- [ ] Provides a link to see more results in the source user interface. | ||
- [ ] Displays the number of total results in the source interface. | ||
- [ ] Displays the number of total results in the source interface. | ||
- [ ] Each Search Result Should display the following | ||
* Title Field as a link to the record in source service | ||
* Author or equivalent | ||
* Format type or equivalent | ||
* Icon relevant to format type | ||
* Other Fields relevant to the component | ||
- Title Field as a link to the record in source service | ||
- Author or equivalent | ||
- Format type or equivalent | ||
- Icon relevant to format type | ||
- Other Fields relevant to the component | ||
- [ ] I can successfully use this feature with Voice Over in Safari. | ||
- [ ] I have checked this feature using one of the following browser extensions and confirmed that it does not add any level A or level AA issues: | ||
* axe dev tools | ||
* Lighthouse | ||
* Wave | ||
|
||
- axe dev tools | ||
- Lighthouse | ||
- Wave | ||
|
||
### Implementation Notes | ||
As Needed. | ||
|
||
As Needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { createApp } from 'vue' | ||
import './style.css' | ||
import App from './App.vue' | ||
import { createApp } from "vue"; | ||
import "./style.css"; | ||
import App from "./App.vue"; | ||
|
||
createApp(App).mount('#app') | ||
createApp(App).mount("#app"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { defineConfig } from 'vite' | ||
import vue from '@vitejs/plugin-vue' | ||
import { defineConfig } from "vite"; | ||
import vue from "@vitejs/plugin-vue"; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: [vue()], | ||
}) | ||
}); |
Oops, something went wrong.