Josh ee5c626501
chore: use yarn resolution for design-system (#18238)
* chore: use yarn resolution for design-system

* fix: helper-plugin types

* fix: color picker types
2023-10-04 09:01:56 +01:00

32 lines
667 B
JavaScript

module.exports = {
root: true,
extends: ['custom/front/typescript', 'plugin:storybook/recommended'],
rules: {
'import/no-unresolved': [
'error',
{
// Eslint does not detect the package.json exports field
// and reports broken imports for the following imports
ignore: ['@strapi/design-system/v2'],
},
],
},
overrides: [
{
files: ['./jest.config.front.js', './webpack.config.js'],
env: {
node: true,
},
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
{
files: ['./tests/*'],
env: {
jest: true,
},
},
],
};