GithubHelp home page GithubHelp logo

eslint-config-bloq's Introduction

eslint-config-bloq

This is Bloq's ESLint shareable config.

It is based on the ESLint recommended rules and other well-known plugins and configs.

Install

npm install --save-dev eslint eslint-config-bloq

Configuration

Add this to the ESLint configuration file:

{
  "extends": ["bloq"]
}

Additional rule sets are available: bloq/node, bloq/next and bloq/mocha.

Note on code formatting

This package is focused on identifying code patterns that are or lead to common errors. It is not intended to deal with code formatting and coding styles (even when a few rules may still be enabled).

License

MIT

eslint-config-bloq's People

Contributors

gabmontes avatar gndelia avatar leanazulyoro avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eslint-config-bloq's Issues

Update publishing script

The current script triggers on tag builds but tags may be applied before merging the changes to master.

Add missing peer dependencies to docs

Full list of dependencies required:

eslint, eslint-config-bloq, eslint-config-prettier, eslint-config-standard, eslint-plugin-import, eslint-plugin-jsdoc, eslint-plugin-mocha, eslint-plugin-node, eslint-plugin-prefer-arrow, eslint-plugin-prettier, eslint-plugin-promise, eslint-plugin-require-path-exists, eslint-plugin-standard, prettier

Prettier configuration:

{
  "singleQuote": true,
  "semi": false
}

Update rules to incorporate Prettier

Current config file required much more than just extending bloq:

{
  "extends": ["bloq", "plugin:prettier/recommended"],
  "rules": {
    "jsdoc/require-jsdoc": "off",
    "semi": ["error", "never"],
    "quotes": ["error", "single"]
  }
}

Those should be incorporated to the base.js config file.

Add typescript configuration

Two plugins that could be useful for us

"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",

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.