mirror of
https://github.com/strapi/strapi.git
synced 2025-10-31 18:08:11 +00:00
* chore: use yarn resolution for design-system * fix: helper-plugin types * fix: color picker types
32 lines
667 B
JavaScript
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,
|
|
},
|
|
},
|
|
],
|
|
};
|