jhusain / eslint-plugin-immutable

ESLint plugin to disable all mutation in JavaScript.
Apache License 2.0
912 stars 18 forks source link

Not allow mutate `window` object but need #17

Closed JimmyLv closed 8 years ago

JimmyLv commented 8 years ago
const store = window.store = createStore(...)
ljharb commented 8 years ago

Why would you want to create a global?

JimmyLv commented 8 years ago

@ljharb aha, actually just want to use store in devtool console easily.

ljharb commented 8 years ago

@JimmyLv eslint rules don't need to apply to dev. plus, what about a debugger breakpoint?

JimmyLv commented 8 years ago

@ljharb Aha, you are correct that we don't need use ESLint in dev.

Thank you very much, I would like to close this issue.