npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@wisemen/eslint-config-vue

v0.2.0

Published

Eslint config for Vue.js projects

Downloads

928

Readme

Vue ESLint Config

GitHub license npm version PRs Welcome

Every project uses the same eslint config, so we can easily maintain the same code style. This also ensures that all our projects are consistent and that we don't lose time on code style. Uses the new Flat Config - Read more about it

Table of Contents

Installation

  1. Install the package:
npm i -D @wisemen/eslint-config-vue
  1. Add the config to your .eslint.config.js file:
import WisemenEslintConfig from '@wisemen/eslint-config-vue'

export default [
  ...(await WisemenEslintConfig),
  {
    settings: {
      'vue-i18n': {
        localeDir: './src/locales/*.json',
        messageSyntaxVersion: '^9.0.0',
      },
    },
  },
]
  1. Add the following to your package.json file:
{
  "scripts": {
    "lint": "eslint --ext .vue,.ts src --fix"
  }
}
  1. Enable Flatconfig in VSCode
"eslint.experimental.useFlatConfig": true

Important ESLint rules

Want to contribute?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read this chapter to get started.

How to contribute

  1. Fork the project & clone locally.
  2. Create an upstream remote and sync your local copy before you branch.
  3. Branch for each separate piece of work.
  4. Do the work, write good commit messages.
  5. Push to your origin repository.
  6. Create a new PR in GitHub.
  7. Respond to any code review feedback.
  8. Repeat until clean.
  9. Wait for a maintainer to merge your PR.
  10. Celebrate!

Rules of Pull Requests

When you want to contribute and send us a pull request, please keep the following rules in mind:

  • Make sure that you test your changes before sending a pull request.
  • When you make a pull request, tag one or multiple maintainers, so they can review your code.
  • Place a message in the Front-end circle channel on Slack, so everyone is aware of the changes.
  • Once you merge your changes, make sure to increase the version number in the package.json file for example 0.0.1 -> 0.0.2.

⚠️ Please make sure you also update the documenation if needed. ⚠️

Have a issue or a feature request?

If you have found a bug or if you have a feature request, please report them at this repository issues section.

Deployment & Publishing

This package is automatically published to npm when a new version is pushed to the master branch.

Making changes locally

If you want to make changes to this package locally, you can use npm link to link the package to your project.

  1. Run npm link @wisemen/eslint-config-vue in the root of your project.
  2. Run npm run lint to lint your project with the local version of this package.
  3. Run npm unlink @wisemen/eslint-config-vue in the root of your project to unlink the package.