mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
5be4926633
- Remove --no-eslintrc to simplify the upgrade path to ESlint >= v9, because v9 defaults to aonther configuration file format. - Simplify the default ESlint configuration removing options that have been deprecated, or that are equal to the default ones. Close #5688
43 lines
716 B
YAML
43 lines
716 B
YAML
---
|
|
env:
|
|
browser: true
|
|
es6: true
|
|
jest: true
|
|
|
|
ignorePatterns:
|
|
- "!.*"
|
|
- "**/node_modules/.*"
|
|
|
|
parser: '@typescript-eslint/parser'
|
|
|
|
plugins:
|
|
- '@typescript-eslint'
|
|
|
|
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
|