Skip to content

Commit

Permalink
refactored and updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ocni-dtu committed Jan 24, 2024
1 parent 61ae41c commit 443be31
Show file tree
Hide file tree
Showing 78 changed files with 3,832 additions and 2,989 deletions.
48 changes: 16 additions & 32 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:import/typescript"
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
parserOptions: {
project: './tsconfig.json',
},
plugins: ["react", "react-hooks", "@typescript-eslint", "prettier"],
rules: {
'react/react-in-jsx-scope': 'off',
'import/no-cycle': 'off',
'max-len': ['error', {"code": 120}],
"@typescript-eslint/no-explicit-any": "off",
camelcase: "error",
"spaced-comment": ["error", "always", {markers: ["/"]}],
quotes: ["error", "single"],
"no-duplicate-imports": "error",
"prettier/prettier": "error",
"no-unused-vars": ["error", {"args": "none"}],
'@typescript-eslint/ban-ts-comment': 0
},
settings: {
react: {
version: "detect"
},
"import/resolver": {
typescript: {}
}
}
};
},
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/png" href="/logo.png"/>
<link rel="icon" type="image/svg+xml" href="/search.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Search Table 7 EPDs</title>
<meta name="author" content="Christian Kongsgaard"/>
Expand Down
Loading

0 comments on commit 443be31

Please sign in to comment.