Skip to content

Commit

Permalink
Add eslint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
RileyAbr committed Nov 5, 2024
1 parent f1276bd commit a3f4b96
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
12 changes: 11 additions & 1 deletion wally-registry-frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
"plugins": ["jsx-a11y"],
"extends": [
"next/core-web-vitals",
"next/typescript",
"plugin:jsx-a11y/strict "
],
"rules": {
"no-constant-condition": ["error", { "checkLoops": "all" }],
"no-unused-vars": 0,
"no-console": 2
}
}
2 changes: 2 additions & 0 deletions wally-registry-frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/src/types/icons.d.ts
/functions/lib
6 changes: 6 additions & 0 deletions wally-registry-frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": false
}
18 changes: 18 additions & 0 deletions wally-registry-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions wally-registry-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"concurrently": "^9.1.0",
"eslint": "^8",
"eslint-config-next": "15.0.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"fantasticon": "^1.1.3",
"prettier": "^3.3.3",
"typescript": "^5"
}
}

0 comments on commit a3f4b96

Please sign in to comment.