mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
36 lines
821 B
JavaScript
36 lines
821 B
JavaScript
const ignore = 0;
|
|
|
|
module.exports = {
|
|
overrides: [
|
|
{
|
|
files: 'templates/**/*',
|
|
env: {
|
|
browser: true,
|
|
},
|
|
rules: {
|
|
'react/no-this-in-sfc': ignore,
|
|
'import/no-unresolved': ignore,
|
|
'react/react-in-jsx-scope': ignore,
|
|
'import/no-extraneous-dependencies': ignore,
|
|
'global-require': ignore,
|
|
'no-redeclare': ignore,
|
|
},
|
|
},
|
|
{
|
|
files: 'rendererAssets/**/*',
|
|
env: {
|
|
browser: true,
|
|
},
|
|
rules: {
|
|
'jsx-a11y/anchor-is-valid': ignore,
|
|
'import/no-unresolved': ignore,
|
|
'react/prop-types': ignore,
|
|
'react/react-in-jsx-scope': ignore,
|
|
'import/no-extraneous-dependencies': ignore,
|
|
'import/extensions': ignore,
|
|
'import/named': ignore,
|
|
},
|
|
},
|
|
],
|
|
};
|