7.3.0 • Published 11 months ago

@ofk/eslint-config-recommend v7.3.0

Weekly downloads
88
License
MIT
Repository
github
Last release
11 months ago

@ofk/eslint-config-recommend

npm ci

This is an my eslint config.

It uses @ofk/eslint-config as a base, has Prettier baked in, and overrides some rules I've seen ourselves having to change often.

Quick start

  1. Install the following dev-dependencies:

    npm install --save-dev @ofk/eslint-config-recommend eslint prettier typescript
  2. Extend the @ofk/eslint-config-recommend config in your eslint.config.js:

    import config from '@ofk/eslint-config-recommend';
    
    export default config();
  3. Run eslint on your project as part of your lint and format scripts:

    "scripts": {
      "lint": "eslint . && prettier --check .",
      "format": "eslint --fix . && prettier --write .",
      "pretest": "npm run lint",
      "test": "test command"
    }
  4. (Optional) Set up prettier config in prettier key in your package.json:

    "prettier": "@ofk/eslint-config-recommend/.prettierrc.json"

    Read more about shared configs here, especially if you need to extend/override the default configuration.

7.3.0

11 months ago

7.1.2

12 months ago

7.1.1

12 months ago

7.1.0

12 months ago

7.0.0

1 year ago

7.2.2

12 months ago

7.2.1

12 months ago

7.2.0

12 months ago

7.0.1

1 year ago

6.6.2

2 years ago

6.6.1

2 years ago

6.6.0

2 years ago

6.5.0

2 years ago

6.5.2

2 years ago

6.5.1

2 years ago

6.5.4

2 years ago

6.4.5

2 years ago

6.5.3

2 years ago

6.4.4

2 years ago

6.4.7

2 years ago

6.5.5

2 years ago

6.4.6

2 years ago

6.4.3

2 years ago

6.4.2

2 years ago

6.4.1

2 years ago

6.4.0

2 years ago

6.3.0

2 years ago

6.2.0

2 years ago

6.1.3

2 years ago

6.1.0

3 years ago

6.0.0

3 years ago

6.1.2

3 years ago

6.1.1

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.0

4 years ago

4.2.0

4 years ago

4.1.0

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago