Skip to content

Commit

Permalink
feat: remove unused linters (#92)
Browse files Browse the repository at this point in the history
* chore: remove unused linters

* feat: removes commitizen config if found
  • Loading branch information
mshanemc authored Aug 19, 2022
1 parent 0c2e844 commit a282faa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/standardize-pjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ module.exports = (packageRoot = require('./package-path'), inLernaProject) => {
pjson.actions.push("removing husky scripts; defining hooks in package.json isn't supported anymore");
delete pjson.contents.husky;
}

if (pjson.contents.config) {
pjson.actions.push('removing commitizen config');
delete pjson.contents.config.commitizen;
}
// END REMOVE

try {
Expand Down
2 changes: 2 additions & 0 deletions utils/write-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ module.exports = (projectPath, inLernaProject) => {
remove('typedoc');
remove('typedoc-plugin-missing-exports');
remove('eslint-plugin-prettier');
remove('lint-staged');
remove('cz-conventional-changelog');
// We use eslint now
remove('tslint');

Expand Down

0 comments on commit a282faa

Please sign in to comment.