Skip to content

beyonk-group/eslint-config

 
 

Repository files navigation





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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%