mirror of
https://github.com/strapi/strapi.git
synced 2025-08-11 10:18:28 +00:00
32 lines
595 B
JavaScript
32 lines
595 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['custom/front/typescript', 'plugin:storybook/recommended'],
|
|
parserOptions: {
|
|
project: ['./tsconfig.eslint.json'],
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
typescript: {
|
|
project: './tsconfig.eslint.json',
|
|
},
|
|
},
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['./jest.config.front.js', './webpack.config.js'],
|
|
env: {
|
|
node: true,
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
},
|
|
},
|
|
{
|
|
files: ['./tests/*'],
|
|
env: {
|
|
jest: true,
|
|
},
|
|
},
|
|
],
|
|
};
|