Skip to content

Commit

Permalink
Merge pull request #1002 from sjinks/update-myr-eslint-config
Browse files Browse the repository at this point in the history
chore: update `@myrotvorets/eslint-config-myrotvorets-ts` to 3.0.1
  • Loading branch information
sjinks authored Dec 12, 2024
2 parents f271379 + d3dfa9e commit 4ca8bae
Show file tree
Hide file tree
Showing 6 changed files with 873 additions and 2,100 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ jobs:
run: npm run build

- name: ESLint check
run: npx eslint -f ./dist/src/ .
run: npx eslint -f ./dist/src/index.js .
16 changes: 16 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import Config from '@myrotvorets/eslint-config-myrotvorets-ts';

/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['**/*.js', '**/*.d.ts'],
},
...Config,
{
languageOptions: {
parserOptions: {
ecmaVersion: 2022,
},
},
},
];
Loading

0 comments on commit 4ca8bae

Please sign in to comment.