Skip to content

Commit

Permalink
#84 Remove custom code as the official plugin as auto fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirsman committed Oct 28, 2022
1 parent c81d7ed commit 19a2b2f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 128 deletions.
5 changes: 3 additions & 2 deletions config/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ grumphp:
yaml_lint: ~
json_lint: ~
psalm: ~
eslint: ~
eslint:
bin: 'node_modules/.bin/eslint'
config: 'web/core/.eslintrc.passing.json'
extensions:
- Wunderio\GrumPHP\Task\PhpCompatibility\PhpCompatibilityExtensionLoader
- Wunderio\GrumPHP\Task\PhpCheckSyntax\PhpCheckSyntaxExtensionLoader
Expand All @@ -24,4 +26,3 @@ grumphp:
- Wunderio\GrumPHP\Task\YamlLint\YamlLintExtensionLoader
- Wunderio\GrumPHP\Task\JsonLint\JsonLintExtensionLoader
- Wunderio\GrumPHP\Task\Psalm\PsalmExtensionLoader
- Wunderio\GrumPHP\Task\ESLint\EslintExtensionLoader
14 changes: 0 additions & 14 deletions src/Task/ESLint/EslintExtensionLoader.php

This file was deleted.

46 changes: 0 additions & 46 deletions src/Task/ESLint/EslintTask.php

This file was deleted.

29 changes: 0 additions & 29 deletions src/Task/ESLint/README.md

This file was deleted.

37 changes: 0 additions & 37 deletions src/Task/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,40 +281,3 @@ Wunderio\GrumPHP\Task\Psalm\PsalmTask:
show_info:
defaults: false
allowed_types: ['bool']
Wunderio\GrumPHP\Task\ESLint\EslintTask:
options:
ignore_patterns:
defaults:
- '**/vendor/**'
- '**/node_modules/**'
- '**/core/**'
- '**/libraries/**'
- '**/contrib/**'
allowed_types: ['array']
extensions:
defaults: ['js', 'jsx', 'ts', 'tsx', 'vue'],
allowed_types: ['array']
run_on:
defaults: ['web/modules/custom', 'web/themes/custom']
allowed_types: ['array']
bin:
defaults: 'node_modules/.bin/eslint'
allowed_types: ['string']
config:
defaults: 'web/core/.eslintrc.passing.json'
allowed_types: ['string']
debug:
defaults: false
allowed_types: ['bool']
format:
defaults: null
allowed_types: ['string', 'null']
max_warnings:
defaults: null
allowed_types: ['int', 'null']
no_eslintrc:
defaults: false
allowed_types: ['bool']
quiet:
defaults: null
allowed_types: ['bool', 'null']

0 comments on commit 19a2b2f

Please sign in to comment.