Skip to content

Commit

Permalink
Merge pull request #1195 from myrotvorets/renovate/major-linters
Browse files Browse the repository at this point in the history
chore(deps): update dependency @myrotvorets/eslint-config-myrotvorets-ts to v3
  • Loading branch information
myrotvorets-team authored Dec 16, 2024
2 parents 99ddc0a + 187c8db commit c8abc16
Show file tree
Hide file tree
Showing 8 changed files with 530 additions and 1,697 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
/.vscode
/coverage
/dist
/example/dist
node_modules
/test-report.xml
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import MyrotvoretsConfig from '@myrotvorets/eslint-config-myrotvorets-ts';
import MochaPlugin from 'eslint-plugin-mocha';
import globals from 'globals';

/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['dist/**', 'example/**'],
},
...MyrotvoretsConfig,
MochaPlugin.configs.flat.recommended,
{
languageOptions: {
globals: {
...globals.node,
},
},
},
];
1 change: 0 additions & 1 deletion lib/connectionattributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
} from '@opentelemetry/semantic-conventions/incubating';
import type { Knex } from 'knex';

// eslint-disable-next-line sonarjs/function-return-type
function findAttribute(where: Record<string, unknown>, keys: string[]): AttributeValue | undefined {
for (const key of keys) {
const value = where[key];
Expand Down
Loading

0 comments on commit c8abc16

Please sign in to comment.