Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kawikabader committed Jan 31, 2025
1 parent 0d21098 commit e7e74fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/gasket-plugin-lint/lib/internal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ type Utils = {
export interface CodeStyle {
name?: string;
allowStylelint?: boolean;
create?: (context: CreateContext, utils: Utils) => Promise<void>;
create?: (context: CreateContext, utils: Utils) => void;
}
12 changes: 6 additions & 6 deletions packages/gasket-plugin-lint/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ function makeGatherDevDeps() {
'eslint-config-godaddy-react-flow': { ...eslintBaseDeps, 'eslint-config-godaddy-react-flow': '^6.0.2', ...babelCore },
'@godaddy/eslint-plugin-react-intl': { ...eslintBaseDeps, '@godaddy/eslint-plugin-react-intl': '^1.3.0' },
'stylelint-config-godaddy': { 'stylelint-config-godaddy': '^0.6.0', 'stylelint': '^15' },
'eslint-config-standard': {
...eslintBaseDeps,
'eslint-config-standard': '^17.1.0',
...eslintImport,
'eslint-plugin-n': '^16.0.0',
'eslint-plugin-promise': '^6.1.1'
'standard': {
standard: '^17.1.2'
},
'snazzy': {
snazzy: '9.0.0'
},
'eslint-config-airbnb': {
...eslintBaseDeps,
Expand Down Expand Up @@ -55,6 +54,7 @@ function makeGatherDevDeps() {
throw new TypeError('Package name must be a non-empty string.');
}

// TODO: standard is broken
if (!(name in dependencies)) {
console.error(`Package not found: ${name}`);
throw new ReferenceError(`No dependency information found for package: ${name}`);
Expand Down

0 comments on commit e7e74fc

Please sign in to comment.