DEV Community

James Candan
James Candan

Posted on

Vuex Airbnb JS ESLint

I found the following useful when working with VueJS and using the Airbnb ESLint rules.

# .eslintrc.yml

  # Airbnb Eslint sets the no-param-reassign props option to true, which warns
  # against the modification of parameter properties. However, in order to
  # control the state (using Vuex), one must use mutations/actions.
  # Set it to false.
    - error
      props: false
Enter fullscreen mode Exit fullscreen mode

Top comments (0)