mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 21:50:59 -05:00
42981a4a7a
* Update buildFileList.sh add new extension * fix space * turn this down a hair * update * fix rule * fixed dumb stuff * fix indent * hangry
73 lines
1.2 KiB
YAML
73 lines
1.2 KiB
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
|
|
sourceType: module
|
|
|
|
###########
|
|
# Plugins #
|
|
###########
|
|
plugins:
|
|
- '@typescript-eslint'
|
|
|
|
#########
|
|
# Rules #
|
|
#########
|
|
# rules: {}
|
|
|
|
##############################
|
|
# Overrides for JSON parsing #
|
|
##############################
|
|
overrides:
|
|
|
|
# JSON files
|
|
- files:
|
|
- "*.json"
|
|
extends:
|
|
- plugin:jsonc/recommended-with-json
|
|
parser: jsonc-eslint-parser
|
|
parserOptions:
|
|
jsonSyntax: JSON
|
|
|
|
# JSONC files
|
|
- files:
|
|
- "*.jsonc"
|
|
extends:
|
|
- plugin:jsonc/recommended-with-jsonc
|
|
parser: jsonc-eslint-parser
|
|
parserOptions:
|
|
jsonSyntax: JSONC
|
|
|
|
# JSON5 files
|
|
- files:
|
|
- "*.json5"
|
|
extends:
|
|
- plugin:jsonc/recommended-with-json5
|
|
parser: jsonc-eslint-parser
|
|
parserOptions:
|
|
jsonSyntax: JSON5
|