@beyonk/eslint-config

8.0.2 • Public • Published




ESLint configuration

js-standard-style CircleCI

This is essentially a fork of the eslint-config I made whilst at Applied Blockchain, but adapted to have Node and Svelte linting, rather than Node and React.

It is based on standard with a few minor tweaks for neatness.

Contributing

Want to add an eslint rule? Open a PR and use gh-polls for voting: https://app.gh-polls.com/

Usage

Installation:

npm i -D eslint @beyonk/eslint-config

Node Modules

In your project's package.json, use the shorthand syntax

  "eslintConfig": {
    "extends": "@beyonk"
  }

Svelte Components

In your project's package.json, use the shorthand syntax

  "eslintConfig": {
    "extends": "@beyonk/eslint-config/svelte"
  }

Linting

This project self-lints:

npm i
npm run lint

Releasing

To release a new version, check out the code on your local machine, then:

npm version minor
git push && git push --tags

Where minor is a sensible default for rule changes which will impact existing projects.

Package Sidebar

Install

npm i @beyonk/eslint-config

Weekly Downloads

92

Version

8.0.2

License

MIT

Unpacked Size

4.57 kB

Total Files

6

Last publish

Collaborators

  • leandro.silva
  • alex.dilley
  • antony
  • adampond