mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-23 06:31:02 -05:00
f0e69a5a7d
* Fix yaml linting issues * Enable yamllint rules * Replace comment * Address linting and set line-length longer Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
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
|