Skip to content

Commit

Permalink
fix: linter problems
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvente committed Dec 13, 2023
1 parent 5fcc77f commit c548d45
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,20 @@ module.exports = createConfig('eslint', {
settings: {
'import/resolver': {
webpack: {
config: [
path.resolve(__dirname, 'webpack.dev.config.js'),
path.resolve(__dirname, 'webpack.prod.config.js'),
],
config: path.resolve(__dirname, 'webpack.dev.config.js'),
},
},
},
rules: {
'react/function-component-definition': 'off',
'import/no-extraneous-dependencies': [
'error', {
devDependencies: false,
optionalDependencies: false,
peerDependencies: false,
packageDir: __dirname,
},
],

'import/prefer-default-export': 'off',
},
overrides: [
{
files: ['plugins/**/*.jsx'],
rules: {
'import/no-extraneous-dependencies': 'off',
},
},
],
});
1 change: 1 addition & 0 deletions src/components/PluggableComponent/index.test.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
// eslint-disable-next-line import/no-extraneous-dependencies
import { render, waitFor, screen } from '@testing-library/react';
import PluggableComponent from '.';

Expand Down

0 comments on commit c548d45

Please sign in to comment.