ESLint configurations used by Quave for JavaScript projects
Last updated a month ago by filipenevola .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @quave/eslint-config-quave 
SYNC missed versions from official npm registry.


@quave/eslint-config-quave is a group of eslint and prettier configurations to make your Meteor application organized in a standard way.


We believe applications should be organized and checked before every commit.

We believe we are not reinventing the wheel in this package but what we are doing is like putting together the wheels in the vehicle :).


Install the npm dependency

npm install -D @tecsinapse/eslint-config-tecsinapse-js

Add to the root of your package.json

  "eslintConfig": {
    "extends": [

Create in the root of your project a prettier.config.js file and paste this

module.exports = require('@tecsinapse/eslint-config-tecsinapse-js/prettier.config');


Automatic check your changed files before every commit, paste this in your package.json root.

  "husky": {
    "hooks": {
      "pre-commit": "meteor npm test && lint-staged",
      "post-commit": "git update-index --again"
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "prettier --write",
      "git add"

If you don't have tests you can remove meteor npm test from the hooks, but it's a good idea to have fast tests that run before every commit.


Set the custom commands if you want to run eslint or prettier manually or both. Add this to your package.json

  "scripts": {
    "quave-eslint": "eslint . --fix",
    "quave-prettier": "prettier --write \"**/*.js\"",
    "quave-check": "npm run quave-eslint && npm run quave-prettier"


We consider an error console.log but in some cases you want to use it, then you should disable for the next line and use it.

// eslint-disable-next-line no-console
console.log('Important log...');



Current Tags

  • 1.0.1-beta.1                                ...           latest (a month ago)

8 Versions

  • 1.0.1-beta.1                                ...           a month ago
  • 1.0.1-beta.0                                ...           a month ago
  • 1.0.0                                ...           a month ago
  • 1.0.0-beta.2                                ...           a month ago
  • 1.0.0-beta.1                                ...           a month ago
  • 1.0.0-beta.0                                ...           a month ago
  • 0.0.2                                ...           a month ago
  • 0.0.1                                ...           2 years ago
Maintainers (2)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |