mirror of
https://github.com/strapi/strapi.git
synced 2025-10-27 16:10:08 +00:00
32 lines
663 B
Plaintext
32 lines
663 B
Plaintext
|
|
{
|
||
|
|
"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
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|