1.0.3 • Published 4 years ago

@zedtk/eslint-config v1.0.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

@zedtk/eslint-config

GitLab pipeline

npm Known Vulnerabilities

License

@zedtk/eslint-config is a set of opinionated configurations for eslint and various plugins.

The configurations can be considered strict and suited for enterprise developement.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed eslint version 7 or higher

Installing @zedtk/eslint-config

To install @zedtk/eslint-config, follow these steps:

npm:

npm i -D @zedtk/eslint-config

pnpm:

pnpm add -D @zedtk/eslint-config

Using @zedtk/eslint-config

To use @zedtk/eslint-config, follow these steps:

.eslintrc.json

{
    ...
    "extends": "@zedtk"
    ...
}

Default configuration provides rules for JavaScript and TypeScript based on:

  • eslint
  • @typescript-eslint

And configuration for the following plugins if installed:

  • eslint-plugin-import
  • eslint-plugin-unused-imports

If you are only interested in a subset of the provided configuration, you can extend from:

  • a profile: "extends": "@zedtk/eslint-config/javascript"
  • a ruleset: "extends": "@zedtk/eslint-config/rulesets/unused-imports"

License

This project uses the following license: MIT

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago