Skip to content

Commit cd21646

Browse files
authored
Align configs (#216)
* chore: migrate ESLint and Prettier configs to @neovici/cfg v2 * chore: cleanup lint * chore: update dependencies to latest safe versions * chore: fix linting issues and format code
1 parent 68c4672 commit cd21646

31 files changed

+4845
-3128
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

eslint.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import cfg from '@neovici/cfg/eslint/index.mjs';
2+
3+
export default [
4+
{
5+
ignores: ['dist/', 'coverage/', 'storybook-static/', '__snapshots__/'],
6+
},
7+
...cfg,
8+
{
9+
rules: {
10+
'max-lines-per-function': 0,
11+
'import/group-exports': 0,
12+
},
13+
},
14+
];

0 commit comments

Comments
 (0)