Skip to content

Commit

Permalink
Migrate to a flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Dec 12, 2024
1 parent 8adce82 commit 072c80f
Show file tree
Hide file tree
Showing 8 changed files with 437 additions and 521 deletions.
39 changes: 0 additions & 39 deletions .eslintrc.json

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
tabWidth: 4,
};
15 changes: 15 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import globals from 'globals';
import Config from './index.mjs';

/** @type {import('eslint').Linter.Config[]} */
export default [
...Config,
{
languageOptions: {
globals: {
...globals.node,
...globals.nodeBuiltin,
},
},
},
];
174 changes: 0 additions & 174 deletions index.js

This file was deleted.

Loading

0 comments on commit 072c80f

Please sign in to comment.