Skip to content

Should files be autosaving when --fix mode is used? #42

Description

@flehoux

When running this, the logs show that things should have been fixed, but files are not being saved.

const lintES6Files = function (files) {
  if (files.length === 0) return
  return gulp.src(files)
    .pipe(standardJs({fix: true}))
    .pipe(standardJs.reporter('default', {showRuleNames: true}))
}

lintES6Files([
    './states/*.es6',
    './states/**/*.es6'
  ])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions