Skip to content

Commit

Permalink
fix: support .stylelintrc.ts files in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip9587 committed Apr 12, 2024
1 parent 3390728 commit 4bbe86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-stylelint/src/plugins/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface StylelintPluginOptions {
}

export const createNodes: CreateNodes<StylelintPluginOptions> = [
'**/.stylelintrc.{json,yml,yaml,js,cjs,mjs}',
'**/.stylelintrc.{json,yml,yaml,js,cjs,mjs,ts}',
async (configFilePath, options, context) => {
const { targetName, lintFilePatterns } = normalizeOptions(options);

Expand Down

0 comments on commit 4bbe86d

Please sign in to comment.