Skip to content

Commit

Permalink
chore: small frontend improvements (#10)
Browse files Browse the repository at this point in the history
* feat: add tooltip explaining partial vs full match

* fix: remove default form data

* feat: add signup banner

* build: sticter linting

* tooltip fix

---------

Co-authored-by: wildmolasses <[email protected]>
  • Loading branch information
mds1 and wildmolasses authored Aug 7, 2023
1 parent c56c083 commit d128624
Show file tree
Hide file tree
Showing 13 changed files with 303 additions and 49 deletions.
37 changes: 37 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'next/core-web-vitals',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'react'],
rules: {
'react/react-in-jsx-scope': 'off',
// Allow unused variables that start with an underscore.
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
},
};
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
"@types/node": "^18.15.2",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"autoprefixer": "^10.4.14",
"eslint": "^8.42.0",
"eslint-config-next": "^13.4.5",
"eslint-plugin-react": "^7.33.1",
"postcss": "^8.4.24",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
Expand Down
Loading

0 comments on commit d128624

Please sign in to comment.