2.0.0 • Published 5 months ago

@webpractik/eslint-config-legacy v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Getting started

npm i -D @webpractik/eslint-config-legacy

// .eslintrc.js

module.exports = {
    root: true,
    parserOptions: {
        project: './tsconfig.json',
        tsconfigRootDir: __dirname,
    },
    extends: ['webpractik'],
    overrides: [
        { 
            files: ['*.js?(x)', '*.ts?(x)'], 
            parser: '@typescript-eslint/parser' 
        }
    ],
};

Plugins:

  • @typescript-eslint
  • prettier
  • import
  • jsx-a11y
  • no-secrets
  • react
  • react-hooks
  • simple-import-sort
  • sonarjs
  • unicorn
  • unused-imports
  • xss