Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
feat(lint): disabled the lint script
Browse files Browse the repository at this point in the history
since it doesnt look like travis-ci/travis.rb#732 isnt going to be fixed or even investigated further

BREAKING CHANGE: the script that lints the travis config will be
disabled in new projects. the prefix can be removed to re-enable, but
will be unstable until travis-ci/travis.rb#732 is fixed
  • Loading branch information
travi committed Aug 30, 2020
1 parent 4fe6d44 commit e35a6c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/scaffolder-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ suite('travis', () => {
}),
{
devDependencies: ['@travi/travis-lint'],
scripts: {'lint:travis': 'travis-lint .travis.yml'},
scripts: {'disabled:lint:travis': 'travis-lint .travis.yml'},
badges: {
status: {
ci: {
Expand All @@ -57,7 +57,7 @@ suite('travis', () => {
await scaffold({projectRoot, vcs, visibility: 'Private'}),
{
devDependencies: ['@travi/travis-lint'],
scripts: {'lint:travis': 'travis-lint .travis.yml'},
scripts: {'disabled:lint:travis': 'travis-lint .travis.yml'},
badges: {status: {}},
nextSteps: [{summary: `Add Travis-CI badge from https://travis-ci.com/${vcs.owner}/${vcs.name} to README.md`}]
}
Expand Down
2 changes: 1 addition & 1 deletion src/scaffolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default async function ({projectRoot, vcs, visibility, projectType, tests

return {
devDependencies: ['@travi/travis-lint'],
scripts: {'lint:travis': 'travis-lint .travis.yml'},
scripts: {'disabled:lint:travis': 'travis-lint .travis.yml'},
badges: {
status: {
...'Public' === visibility && {
Expand Down

0 comments on commit e35a6c0

Please sign in to comment.