Skip to content

Commit

Permalink
Update dependences, Fix rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuovec committed Mar 21, 2023
1 parent 3c76a46 commit cd124da
Show file tree
Hide file tree
Showing 4 changed files with 194 additions and 167 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14.16"
registry-url: "https://registry.npmjs.org"
node-version: '18.15'
registry-url: 'https://registry.npmjs.org'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
14 changes: 11 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ module.exports = {
'querystring',
'colors',
'antd',
'@mantine',
],
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{
ignoreTernaryTests: false,
ignoreConditionalTests: false,
ignoreMixedLogicalExpressions: true,
},
],
'@typescript-eslint/consistent-type-definitions': 'off',

Expand Down Expand Up @@ -441,12 +450,12 @@ module.exports = {
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
pathGroups: [
{
pattern: '{common,features,pages,locales,models,permissions,ui,types}/**',
pattern: '{pages,locales,permissions,ui}',
group: 'internal',
position: 'after',
},
{
pattern: '{pages,locales,permissions,ui}',
pattern: '{common,features,pages,locales,models,permissions,ui,types}/**',
group: 'internal',
position: 'after',
},
Expand Down Expand Up @@ -615,7 +624,6 @@ module.exports = {
'jest/require-top-level-describe': 'warn',

'testing-library/no-debugging-utils': 'warn',
'testing-library/no-await-sync-events': 'error',
'testing-library/no-manual-cleanup': 'error',
'testing-library/prefer-explicit-assert': ['error', { assertion: 'toBeInTheDocument' }],
'testing-library/prefer-wait-for': 'error',
Expand Down
Loading

0 comments on commit cd124da

Please sign in to comment.