forked from storybookjs/storybook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (34 loc) · 821 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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,
},
},
],
};