1.0.7 • Published 4 months ago

@lukasbach/eslint-config-base v1.0.7

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

My Eslint Config

This is my personal eslint config. It's based on the Airbnb Javascript Style Guide and includes additional configuration for prettier and import rules.

Install the rules

npx install-peerdeps --dev @lukasbach/eslint-config-base
yarn add @lukasbach/eslint-config-base --dev

Add the following object to the eslint.rc:

{
  "extends": "@lukasbach/base",
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "ignorePatterns": ["lib", "*.js"]
}

or the following to your package.json:

{
  "eslintConfig": {
    "extends": "@lukasbach/base",
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "ignorePatterns": ["lib", "*.js"]
  }
}

If you need react, extend from "@lukasbach/base/react" instead.

Optionally, you can also add the following scripts to your package.json:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

You can also install "@lukasbach/eslint-config-deps" to get all peer dependencies included as actual dependencies.

yarn add @lukasbach/eslint-config-deps --dev
1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago