Skip to content

Commit

Permalink
chore(deps): update dependency @myrotvorets/eslint-config-myrotvorets…
Browse files Browse the repository at this point in the history
…-ts to v3 (#302)

* chore(deps): update dependency @myrotvorets/eslint-config-myrotvorets-ts to v3

* Update ESLint configuration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Myrotvorets <[email protected]>
  • Loading branch information
renovate[bot] and myrotvorets-team authored Dec 16, 2024
1 parent e1bbe94 commit 6fb9ed2
Show file tree
Hide file tree
Showing 6 changed files with 516 additions and 1,876 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion .mocharc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ module.exports = {
process.env.GITHUB_ACTIONS === 'true' ? 'mocha-reporter-gha=-' : null,
process.env.SONARSCANNER === 'true' ? 'mocha-reporter-sonarqube=test-report.xml' : null,
].filter(Boolean),
}
};
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/**'],
},
...MyrotvoretsConfig,
MochaPlugin.configs.flat.recommended,
{
languageOptions: {
globals: {
...globals.node,
},
},
},
];
Loading

0 comments on commit 6fb9ed2

Please sign in to comment.