Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(presets): map PHP linters in default linters group #25072

Merged
merged 4 commits into from
Oct 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/config/presets/internal/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
extends: [
'packages:emberTemplateLint',
'packages:eslint',
'packages:phpLinters',
'packages:stylelint',
'packages:tslint',
],
Expand All @@ -94,7 +95,11 @@
description: 'All Mapbox-related packages.',
matchPackagePrefixes: ['leaflet', 'mapbox'],
},
phpLinters: {
description: 'All PHP lint-related packages.',
matchPackageNames: ['friendsofphp/php-cs-fixer', 'squizlabs/php_codesniffer', 'symplify/easy-coding-standard'],
}
viceice marked this conversation as resolved.
Show resolved Hide resolved
postcss: {

Check failure on line 102 in lib/config/presets/internal/packages.ts

View workflow job for this annotation

GitHub Actions / lint-eslint

Parsing error: ',' expected.

Check failure on line 102 in lib/config/presets/internal/packages.ts

View workflow job for this annotation

GitHub Actions / lint-other

',' expected.

Check failure on line 102 in lib/config/presets/internal/packages.ts

View workflow job for this annotation

GitHub Actions / build

',' expected.
description: 'All PostCSS packages.',
matchPackageNames: ['postcss'],
matchPackagePrefixes: ['postcss-'],
Expand Down