Skip to content

Commit

Permalink
Merge pull request #511
Browse files Browse the repository at this point in the history
fix(24641): A few hygiene fixes

* refactor(24641): redesign context bar to use consistent icon/aria-label

* chore(24641): update eslint

* chore(24641): rename component

* fix(24641): linting

* chore(24641): update eslint

* test(24641): update test and improve flakiness avoidance

* fix(24641): remove the deprecated feature flag preventing the DataHub…

* fix(24641): fix uiSchema for simulation adapter

* fix(24641): make the row style safe for light and dark modes
  • Loading branch information
vanch3d authored Jul 31, 2024
1 parent dd795fa commit 78f0cb3
Show file tree
Hide file tree
Showing 18 changed files with 261 additions and 120 deletions.
4 changes: 3 additions & 1 deletion hivemq-edge/src/frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:cypress/recommended',
'plugin:@tanstack/eslint-plugin-query/recommended',
'plugin:deprecation/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh', 'cypress'],
rules: {
'react/react-in-jsx-scope': 0,
'react/prop-types': 0,
'react/jsx-curly-brace-presence': ['error', { props: 'never', children: 'never' }],
'react-refresh/only-export-components': 'warn',
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
'deprecation/deprecation': 0,
},
ignorePatterns: ['**/__generated__/*'],
}
3 changes: 2 additions & 1 deletion hivemq-edge/src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@
"cypress-axe": "^1.5.0",
"cypress-each": "^1.14.0",
"cypress-terminal-report": "^6.1.2",
"eslint": "^8.38.0",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
Expand Down
Loading

0 comments on commit 78f0cb3

Please sign in to comment.