0.7.1 • Published 6 months ago

@xip-online-applications/eslint-config v0.7.1

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

Eslint config

Company-wide Eslint config for JS based projects.

Usage

Install

npm i -D eslint @xip-online-applications/eslint-config

Add config

{
  // ...
  "eslintConfig": {
    "extends": "@xip-online-applications/eslint-config"
    // TypeScript flavour
    // "extends": "@xip-online-applications/eslint-config/typescript"
  }
}

Or in an NX repo

{
  "files": ["*.ts", "*.tsx"],
  "extends": ["plugin:@nx/typescript", "@xip-online-applications/eslint-config/typescript"],
  "rules": {}
},
{
  "files": ["*.js", "*.jsx"],
  "extends": ["plugin:@nx/javascript", "@xip-online-applications/eslint-config"],
  "rules": {}
}

Add script

{
  // ...
  "scripts": {
    // ...
    "lint": "eslint --ext .js, YOUR_SOURCE_FOLDER"
    // ...
  }
}
0.7.1

6 months ago

0.7.0

7 months ago

0.6.1

10 months ago

0.6.0

10 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago