1.0.0 • Published 12 months ago

@ssh/eslint-config v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

eslint-config-slingshot

Slingshot's ESLint rules. Based on Airbnb's ESLint rules.

The easiest way to install this package is through npx install-peerdeps, which will install all the peer dependencies for you using your preferred package manager.

npx install-peerdeps --dev @ssh/eslint-config

Then, add the configuration to your .eslintrc.json and set parserOptions.project:

{
    "extends": "@ssh",
    "parserOptions": {
        "project": "{{ path to your tsconfig.json }}"
    }
}

If you don't need React-specific rules, you can use the base configuration instead:

{
    "extends": "@ssh/eslint-config/base",
    "parserOptions": {
        "project": "{{ path to your tsconfig.json }}"
    }
}
1.0.0

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago