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 (#849)

* 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 <support@myrotvorets.center>
  • Loading branch information
renovate[bot] and myrotvorets-team authored Dec 16, 2024
1 parent bee3ca7 commit f2a0f72
Show file tree
Hide file tree
Showing 6 changed files with 762 additions and 1,974 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

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

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import MyrotvoretsConfig from '@myrotvorets/eslint-config-myrotvorets-ts';
import globals from 'globals';

/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['dist/**'],
},
...MyrotvoretsConfig,
{
files: ['*.mjs'],
languageOptions: {
sourceType: 'module',
ecmaVersion: 2022,
globals: {
...globals.nodeBuiltin,
},
},
},
];
2 changes: 1 addition & 1 deletion loader.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { register } from 'node:module';
import { pathToFileURL } from 'node:url';

register('ts-node/esm/transpile-only', pathToFileURL("./"));
register('ts-node/esm/transpile-only', pathToFileURL('./'));
Loading

0 comments on commit f2a0f72

Please sign in to comment.