Skip to content

Commit 19a2b2f

Browse files
committed
#84 Remove custom code as the official plugin as auto fix.
1 parent c81d7ed commit 19a2b2f

File tree

5 files changed

+3
-128
lines changed

5 files changed

+3
-128
lines changed

config/grumphp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ grumphp:
1313
yaml_lint: ~
1414
json_lint: ~
1515
psalm: ~
16-
eslint: ~
16+
eslint:
17+
bin: 'node_modules/.bin/eslint'
18+
config: 'web/core/.eslintrc.passing.json'
1719
extensions:
1820
- Wunderio\GrumPHP\Task\PhpCompatibility\PhpCompatibilityExtensionLoader
1921
- Wunderio\GrumPHP\Task\PhpCheckSyntax\PhpCheckSyntaxExtensionLoader
@@ -24,4 +26,3 @@ grumphp:
2426
- Wunderio\GrumPHP\Task\YamlLint\YamlLintExtensionLoader
2527
- Wunderio\GrumPHP\Task\JsonLint\JsonLintExtensionLoader
2628
- Wunderio\GrumPHP\Task\Psalm\PsalmExtensionLoader
27-
- Wunderio\GrumPHP\Task\ESLint\EslintExtensionLoader

src/Task/ESLint/EslintExtensionLoader.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/Task/ESLint/EslintTask.php

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/Task/ESLint/README.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/Task/tasks.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -281,40 +281,3 @@ Wunderio\GrumPHP\Task\Psalm\PsalmTask:
281281
show_info:
282282
defaults: false
283283
allowed_types: ['bool']
284-
Wunderio\GrumPHP\Task\ESLint\EslintTask:
285-
options:
286-
ignore_patterns:
287-
defaults:
288-
- '**/vendor/**'
289-
- '**/node_modules/**'
290-
- '**/core/**'
291-
- '**/libraries/**'
292-
- '**/contrib/**'
293-
allowed_types: ['array']
294-
extensions:
295-
defaults: ['js', 'jsx', 'ts', 'tsx', 'vue'],
296-
allowed_types: ['array']
297-
run_on:
298-
defaults: ['web/modules/custom', 'web/themes/custom']
299-
allowed_types: ['array']
300-
bin:
301-
defaults: 'node_modules/.bin/eslint'
302-
allowed_types: ['string']
303-
config:
304-
defaults: 'web/core/.eslintrc.passing.json'
305-
allowed_types: ['string']
306-
debug:
307-
defaults: false
308-
allowed_types: ['bool']
309-
format:
310-
defaults: null
311-
allowed_types: ['string', 'null']
312-
max_warnings:
313-
defaults: null
314-
allowed_types: ['int', 'null']
315-
no_eslintrc:
316-
defaults: false
317-
allowed_types: ['bool']
318-
quiet:
319-
defaults: null
320-
allowed_types: ['bool', 'null']

0 commit comments

Comments
 (0)