superlint/TEMPLATES/.eslintrc.yml

43 lines
715 B
YAML
Raw Normal View History

2019-11-06 16:45:44 -05:00
---
env:
browser: true
es6: true
jest: true
2019-11-06 16:45:44 -05:00
ignorePatterns:
- "!.*"
- "**/node_modules/.*"
2024-08-15 04:21:26 -04:00
parser: "@typescript-eslint/parser"
2019-11-06 16:45:44 -05:00
plugins:
2024-08-15 04:21:26 -04:00
- "@typescript-eslint"
2019-11-06 16:45:44 -05:00
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