storybook/lib/cli/generators/.eslintrc.js
2019-10-12 08:51:39 +08:00

26 lines
489 B
JavaScript

const ignore = 0;
module.exports = {
overrides: [
{
files: '*/template[-?]*/**',
env: {
browser: true,
},
rules: {
'react/no-this-in-sfc': ignore,
'import/no-unresolved': ignore,
'import/no-extraneous-dependencies': ignore,
'global-require': ignore,
'react/react-in-jsx-scope': ignore,
},
},
{
files: 'REACT_NATIVE/template/**',
env: {
browser: false,
},
},
],
};