Skip to content

Commit

Permalink
Update ESLint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Dec 16, 2024
1 parent 21c4542 commit 09f29db
Show file tree
Hide file tree
Showing 6 changed files with 508 additions and 1,609 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

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

This file was deleted.

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

/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['dist/**', 'lib/**'],
},
...MyrotvoretsConfig,
{
languageOptions: {
globals: {
...globals.node,
},
},
},
];
6 changes: 1 addition & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ module.exports = merge.recursive(ts_preset, {
collectCoverage: false,
clearMocks: true,
verbose: true,
testPathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/lib/',
'<rootDir>/node_modules/',
],
testPathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/lib/', '<rootDir>/node_modules/'],
});
Loading

0 comments on commit 09f29db

Please sign in to comment.