Skip to content

Commit

Permalink
build: update eslint config (removes no-secrets rule)
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed Jan 10, 2024
1 parent d660ae9 commit 7b84888
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 25 deletions.
27 changes: 6 additions & 21 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@code-pushup/eslint-config": "^0.1.2",
"@code-pushup/eslint-config": "^0.2.1",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@commitlint/config-nx-scopes": "^18.4.3",
Expand Down Expand Up @@ -100,7 +100,6 @@
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-no-secrets": "^0.8.9",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ describe('filterPluginsByOnlyPluginsOption', () => {
});
});

// without the `no-secrets` rule, this would be flagged as a security issue
// eslint-disable-next-line no-secrets/no-secrets
describe('filterCategoryByOnlyPluginsOption', () => {
it('should return all categories if no onlyPlugins option', () => {
expect(
Expand Down

0 comments on commit 7b84888

Please sign in to comment.