Skip to content

Commit

Permalink
Merge pull request #230 from CBIIT/CRDCDH-633
Browse files Browse the repository at this point in the history
CRDCDH-633 Accessibility Audit & 508 Compliance
  • Loading branch information
Alejandro-Vega authored Dec 6, 2023
2 parents b304aa8 + dabc4d8 commit d659599
Show file tree
Hide file tree
Showing 52 changed files with 1,213 additions and 538 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
"plugin:jsx-a11y/recommended",
'airbnb',
'airbnb-typescript',
],
Expand All @@ -15,7 +16,7 @@ module.exports = {
project: "./tsconfig.json",
sourceType: "module"
},
plugins: ["react", "@typescript-eslint"],
plugins: ["react", "@typescript-eslint", "jsx-a11y"],
settings: {
react: {
pragma: "React",
Expand All @@ -26,7 +27,6 @@ module.exports = {
root: true,
ignorePatterns: ["public/injectEnv.js", "public/js/session.js"],
rules: {
// Note: you must disable the base rule as it can report incorrect errors
"react/jsx-filename-extension": [1, { extensions: [".js", ".jsx", ".tsx", ".ts"] }],
"no-empty-function": "warn",
"@typescript-eslint/no-empty-function": "error",
Expand All @@ -36,7 +36,6 @@ module.exports = {
"react/display-name": "off",
"@typescript-eslint/comma-dangle": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-is-valid": "off",
"comma-dangle": "off",
"max-len": "off",
"no-console": "warn",
Expand Down
Loading

0 comments on commit d659599

Please sign in to comment.