brunch / jshint-brunch

Adds JSHint linting support to Brunch.
7 stars 4 forks source link

Disable jshint in Production environments #29

Closed jualoppaz closed 5 years ago

jualoppaz commented 5 years ago

Hi!

Is there any option for disable jshint validations in Production environments?

I build my brunch apps with brunch build --production command and I can't find a way for do this in a Production environment like Heroku.

Thank you so much.

paulmillr commented 5 years ago

see config.overrides on the official docs

overrides: {
  production: {
    plugins: {off: ['jshint-brunch']}
  }
}
jualoppaz commented 5 years ago

Thank you so much, @paulmillr .

I didn't see that option.