2019-11-07 09:44:14 -05:00
|
|
|
---
|
|
|
|
|
|
|
|
#############################
|
|
|
|
#############################
|
|
|
|
## JavaScript Linter rules ##
|
|
|
|
#############################
|
|
|
|
#############################
|
|
|
|
|
|
|
|
############
|
|
|
|
# Env Vars #
|
|
|
|
############
|
|
|
|
env:
|
|
|
|
browser: true
|
|
|
|
es6: true
|
2019-12-13 08:42:16 -05:00
|
|
|
jest: true
|
2019-11-07 09:44:14 -05:00
|
|
|
|
|
|
|
###############
|
|
|
|
# Global Vars #
|
|
|
|
###############
|
|
|
|
globals:
|
|
|
|
Atomics: readonly
|
|
|
|
SharedArrayBuffer: readonly
|
|
|
|
|
|
|
|
###############
|
|
|
|
# Parser vars #
|
|
|
|
###############
|
|
|
|
parser: '@typescript-eslint/parser'
|
|
|
|
parserOptions:
|
|
|
|
ecmaVersion: 2018
|
2020-04-01 14:59:44 -04:00
|
|
|
sourceType: module
|
2019-11-07 09:44:14 -05:00
|
|
|
|
|
|
|
###########
|
|
|
|
# Plugins #
|
|
|
|
###########
|
|
|
|
plugins:
|
|
|
|
- '@typescript-eslint'
|
|
|
|
|
|
|
|
#########
|
|
|
|
# Rules #
|
|
|
|
#########
|
|
|
|
rules: {}
|
2021-05-11 11:54:58 -04:00
|
|
|
|
|
|
|
##############################
|
|
|
|
# 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
|