FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
frontend/ui/src/.eslintrc.js at test · devhttps/frontend · GitHub
devhttps
/
frontend
Public
forked from
guardian/frontend
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
frontend
/
ui
/
src
/
.eslintrc.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
54 lines (51 loc) · 1.17 KB
Breadcrumbs
frontend
/
ui
/
src
/
.eslintrc.js
Copy path
File metadata and controls
54 lines (51 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
@flow
module
.
exports
=
{
parser
:
'babel-eslint'
,
parserOptions
:
{
ecmaVersion
:
'2017'
,
sourceType
:
'module'
,
ecmaFeatures
:
{
jsx
:
true
,
}
,
}
,
settings
:
{
react
:
{
pragma
:
'h'
}
,
'import/resolver'
:
{
webpack
:
{
config
:
'__config__/webpack.config.js'
,
}
,
}
,
}
,
extends
:
[
'plugin:flowtype/recommended'
,
'prettier/flowtype'
,
'prettier/react'
,
]
,
plugins
:
[
'flow-header'
,
'flowtype'
]
,
rules
:
{
'flow-header/flow-header'
:
'error'
,
// flow should take care of our return values
'consistent-return'
:
'off'
,
// react API stuff
'react/react-in-jsx-scope'
:
'off'
,
'react/prop-types'
:
'off'
,
// these exentions never need to be supplied for imports
'import/extensions'
:
[
'error'
,
'always'
,
{
js
:
'never'
,
jsx
:
'never'
,
}
,
]
,
}
,
globals
:
{
BROWSER
:
true
,
SERVER
:
true
,
}
,
env
:
{
browser
:
true
,
nashorn
:
true
,
jest
:
true
,
}
,
}
;
Back
|
FazBrowse Home
|
New Git URL