1.0.6 • Published 1 year ago

eslint-config-aindu v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

👮‍♂️ Aindu ESLint + Prettier configuration

Opinionated linting configuration based on eslint-config-codely, with some extra checks.

Use and config:

You only need to extend your eslint config (.eslintrc.js) with this config, for that your first need to install the dependency:

npm install --save-dev eslint-config-aindu

For JavaScript

module.exports = {
  extends: [ "eslint-config-aindu" ]
}

For TypeScript

module.exports = {
  extends: [ "eslint-config-aindu/typescript" ],
  overrides: [
    {
      files: ["*.ts", "*.tsx"],
      parserOptions: {
        project: ["./tsconfig.json"],
      },
    },
  ]
}