Skip to content

Commit

Permalink
fix(cli): fix deprecated --syntax of lint-staged (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Mar 21, 2022
1 parent 5f449c6 commit b42e6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schematics/utils/code-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export const LINT_STAGED = 'lint-staged';

export const LINT_STAGED_CONFIG = {
'(src)/**/*.{html,ts}': ['eslint --fix'],
'(src)/**/*.less': ['npx stylelint --syntax less --fix']
'(src)/**/*.less': ['npm run lint:style']
};

0 comments on commit b42e6ae

Please sign in to comment.