1.3.1 • Published 2 years ago

@levibostian/eslint-config-node v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm latest version Actions Status

@levibostian/eslint-config-node

Sharable eslint config file I use for my nodejs projects.

Getting started

  1. Install your dependencies:
npm install -D @levibostian/eslint-config-node

# These are modules that are required by the shareable config
npm install -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-jest
  1. Enable the config by adding to your existing .eslintrc.json file:
module.exports = {
  "parser": "@typescript-eslint/parser",
  "plugins": ["jest"],
  "extends": ["plugin:@typescript-eslint/recommended", "plugin:jest/recommended",  "@levibostian/eslint-config-node"],
  "parserOptions": {
    "ecmaVersion": 2021,
    "sourceType": "module"
  }
};

Development

  • Setup
npm install
  • Test this config file out in a nodejs project you have on your local computer. In this project run npm link then in your project you want to test on run npm link @levibostian/eslint-config-node.

  • This project follows a strict semantic versioning policy. The policy is enforced on the CI server where it will not allow you to merge your PR unless your commit messages are in the correct format. To learn more, check out this doc.

  • Keep the peerDependencies in package.json up-to-date with latest releases. If you need to add a plugin requirement, add it in that list, too.

  • Make a PR, the team will merge it in, the a release will be made.

License

See LICENSE

1.3.1

2 years ago

1.2.0

3 years ago

1.3.0

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.1.0

3 years ago