@ssh/eslint-config

1.0.0 • Public • Published

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 }}"
    }
}

Package Sidebar

Install

npm i @ssh/eslint-config

Weekly Downloads

3

Version

1.0.0

License

Apache-2.0

Unpacked Size

138 kB

Total Files

36

Last publish

Collaborators

  • saescapa-slingshot
  • sanil