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 6b73160 commit 994d0b4
Show file tree
Hide file tree
Showing 5 changed files with 651 additions and 1,944 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

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

This file was deleted.

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

/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['dist/**'],
},
...MyrotvoretsConfig,
{
files: ['test/**/*.ts'],
rules: {
'no-await-in-loop': 'off',
'sonarjs/no-hardcoded-ip': 'off',
},
},
];
1 change: 0 additions & 1 deletion lib/iso31661Alpha2/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-named-as-default-member */
import { EnvError, makeValidator } from 'envalid';
import validator from 'validator';

Expand Down
Loading

0 comments on commit 994d0b4

Please sign in to comment.