mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-26 06:32:26 -05:00
de91a0aeb2
- 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
40 lines
581 B
YAML
40 lines
581 B
YAML
---
|
|
|
|
#############################
|
|
#############################
|
|
## JavaScript Linter rules ##
|
|
#############################
|
|
#############################
|
|
|
|
############
|
|
# Env Vars #
|
|
############
|
|
env:
|
|
browser: true
|
|
es6: true
|
|
jest: true
|
|
|
|
###############
|
|
# Global Vars #
|
|
###############
|
|
globals:
|
|
Atomics: readonly
|
|
SharedArrayBuffer: readonly
|
|
|
|
###############
|
|
# Parser vars #
|
|
###############
|
|
parser: '@typescript-eslint/parser'
|
|
parserOptions:
|
|
ecmaVersion: 2018
|
|
|
|
###########
|
|
# Plugins #
|
|
###########
|
|
plugins:
|
|
- '@typescript-eslint'
|
|
|
|
#########
|
|
# Rules #
|
|
#########
|
|
rules: {}
|