Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f88459df
Commit
f88459df
authored
May 05, 2020
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Jest config from @gitlab/eslint-plugin
parent
a3f59b1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
spec/frontend/.eslintrc.yml
spec/frontend/.eslintrc.yml
+11
-6
No files found.
spec/frontend/.eslintrc.yml
View file @
f88459df
---
---
env
:
jest/globals
:
true
plugins
:
-
jest
extends
:
extends
:
-
'
plugin:jest/recommended'
-
"
plugin:@gitlab/jest"
settings
:
settings
:
# We have to teach eslint-plugin-import what node modules we use
# We have to teach eslint-plugin-import what node modules we use
# otherwise there is an error when it tries to resolve them
# otherwise there is an error when it tries to resolve them
...
@@ -14,9 +10,18 @@ settings:
...
@@ -14,9 +10,18 @@ settings:
-
path
-
path
import/resolver
:
import/resolver
:
jest
:
jest
:
jestConfigFile
:
'
jest.config.js'
jestConfigFile
:
"
jest.config.js"
globals
:
globals
:
getJSONFixture
:
false
getJSONFixture
:
false
loadFixtures
:
false
loadFixtures
:
false
preloadFixtures
:
false
preloadFixtures
:
false
setFixtures
:
false
setFixtures
:
false
rules
:
jest/expect-expect
:
-
off
-
assertFunctionNames
:
-
"
expect*"
-
"
assert*"
-
"
testAction"
jest/no-test-callback
:
-
off
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment