0.7.20 • Published 5 days ago

@qlik/eslint-config v0.7.20

Weekly downloads
-
License
ISC
Repository
github
Last release
5 days ago

@qlik/eslint-config

Qlik's ESlint config for pure javascript/typescript environments. Based on airbnb-base/prettier config with some modifications.

usage

These configs assumes that you are using typescript. It is still possible to write .js files and get linting on those.

Simplest approach is to add one of the following field in package.json:

For a pure environment with no specific frameworks use:

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "@qlik/eslint-config"
  ]
},

Using react:

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "@qlik/eslint-config/react"
  ]
},

Using svelte:

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "@qlik/eslint-config/svelte"
  ]
},

Using react AND svelte (rare occasion):

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "@qlik/eslint-config/react-svelte"
  ]
},

For a node environment with commonjs modules use:

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "@qlik/eslint-config/node"
  ]
},

For a node environment with ES modules use:

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "@qlik/eslint-config/esm"
  ]
},

Additional configs that can be used in conjunction with the above:

"eslintConfig": {
  "root": true,
  "parserOptions": {
    "project": "path/to/tsconfig.json"
  },
  "extends": [
    "...",
    "@qlik/eslint-config/vitest", // adds linting on vitest test and config files
    // AND/OR
    "@qlik/eslint-config/playwright" // adds linting on playwright test and config files
  ]
},
0.7.20

5 days ago

0.7.19

10 days ago

0.7.18

18 days ago

0.7.17

18 days ago

0.7.16

1 month ago

0.7.15

2 months ago

0.7.14

2 months ago

0.7.13

2 months ago

0.7.12

2 months ago

0.7.11

2 months ago

0.7.10

3 months ago

0.7.9

3 months ago

0.7.8

3 months ago

0.7.7

3 months ago

0.7.6

3 months ago

0.7.5

3 months ago

0.7.4

3 months ago

0.7.3

3 months ago

0.7.2

4 months ago

0.7.1

4 months ago

0.7.0

4 months ago

0.6.7

4 months ago

0.6.6

4 months ago

0.6.5

4 months ago

0.6.4

5 months ago

0.6.3

5 months ago

0.6.2

5 months ago

0.6.1

5 months ago

0.4.9

10 months ago

0.4.8

10 months ago

0.4.31

6 months ago

0.4.32

6 months ago

0.4.30

6 months ago

0.5.3

6 months ago

0.5.0

6 months ago

0.5.2

6 months ago

0.5.1

6 months ago

0.4.20

8 months ago

0.4.21

8 months ago

0.4.28

7 months ago

0.4.29

6 months ago

0.4.26

7 months ago

0.4.27

7 months ago

0.4.24

7 months ago

0.4.25

7 months ago

0.4.22

7 months ago

0.4.23

7 months ago

0.4.19

8 months ago

0.4.10

9 months ago

0.4.17

8 months ago

0.4.18

8 months ago

0.4.15

9 months ago

0.4.16

9 months ago

0.4.13

9 months ago

0.4.14

9 months ago

0.4.11

9 months ago

0.4.12

9 months ago

0.6.0

5 months ago

0.0.15

12 months ago

0.0.16

12 months ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

12 months ago

0.1.0

12 months ago

0.3.0

11 months ago

0.2.1

11 months ago

0.2.0

12 months ago

0.1.1

12 months ago

0.4.5

11 months ago

0.4.4

11 months ago

0.4.7

11 months ago

0.4.6

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.4.3

11 months ago

0.4.2

11 months ago

0.0.11

1 year ago

0.0.10

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

0.0.2

1 year ago

0.0.1

1 year ago