mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
Add Jest Eslint plugin
- This plugin will help Eslint not mark Jest keywords (describe, it, etc.) as errors. - Added jest: true to eslintrc - Added eslint-plugin-jest to npm install seciton in Dockerfile
This commit is contained in:
parent
2e20924143
commit
de91a0aeb2
2 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ RUN npm -g --no-cache install \
|
||||||
babel-eslint \
|
babel-eslint \
|
||||||
@typescript-eslint/eslint-plugin \
|
@typescript-eslint/eslint-plugin \
|
||||||
@typescript-eslint/parser \
|
@typescript-eslint/parser \
|
||||||
|
eslint-plugin-jest \
|
||||||
&& npm --no-cache install \
|
&& npm --no-cache install \
|
||||||
markdownlint-cli \
|
markdownlint-cli \
|
||||||
jsonlint prettyjson \
|
jsonlint prettyjson \
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
env:
|
env:
|
||||||
browser: true
|
browser: true
|
||||||
es6: true
|
es6: true
|
||||||
|
jest: true
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Global Vars #
|
# Global Vars #
|
||||||
|
|
Loading…
Reference in a new issue