GithubHelp home page GithubHelp logo

glebkaf / eslint-plugin-strict-vue Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 1.0 157 KB

Vue eslint plugin with rules to make you code stricter: enforce jsdoc, restrict rootGetters, rootState and more.

License: MIT License

JavaScript 100.00%
vuejs eslint-plugin vuex eslint-rules

eslint-plugin-strict-vue's People

Contributors

dependabot[bot] avatar glebkaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

julaudo

eslint-plugin-strict-vue's Issues

Add options to require-jsdoc

Currently 3 options are available to require-jsdoc:

  • "VueProps" - each prop should has JSdoc
  • "VuexState" - each action should has JSdoc
  • "VuexActions" - each state property should has JSdoc

It would be useful to add more options, like "VueComputed" or "VueMethods"

Not working for *.vue file

I have install it, and config as the readme.
Then I run "eslint src/App.vue".
It is not working, it will not check the methods in <script/>

I have installed the jsdoc, and the command "eslint src/helpers/my.js" works.

no-root-store-* access alternative inside vuex modules

Hi, you gave an example on how to access global store assets and function through map* functions. But how do one access them inside of a namespaced vuex module without using root* params? I have a global state that should be accessible in all modules but can't because of error.

I'm also wondering what is the danger when using root assets through root* params?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.