@nfq/eslint-config 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.history/README_20231217144518.md +99 -0
- package/.history/README_20241010130324.md +100 -0
- package/.history/README_20241010130401.md +101 -0
- package/.history/README_20241010130435.md +103 -0
- package/.history/index_20230528105125.js +43 -0
- package/.history/index_20241010125314.js +48 -0
- package/.history/package_20241010130116.json +79 -0
- package/.history/package_20241010130143.json +80 -0
- package/.history/rules/stylistic_20241010124403.js +0 -0
- package/.history/rules/stylistic_20241010130035.js +72 -0
- package/.history/rules/{typescript_20240305091012.js → typescript_20241001141454.js} +3 -1
- package/.history/rules/{typescript_20230725223738.js → typescript_20241010125102.js} +13 -71
- package/.history/rules/typescript_20241010125819.js +180 -0
- package/CHANGELOG.md +14 -0
- package/README.md +4 -0
- package/index.js +8 -3
- package/package.json +19 -17
- package/rules/stylistic.js +72 -0
- package/rules/typescript.js +4 -70
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
<div id="top"></div>
|
|
2
|
+
|
|
3
|
+
# eslint-config-nfq
|
|
4
|
+
|
|
5
|
+
[](https://github.com/nfqde/eslint-config-nfq/actions/workflows/eslint.yml)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
1. [Description](#description)
|
|
10
|
+
2. [Getting started](#getting-started)
|
|
11
|
+
1. [Installation](#installation)
|
|
12
|
+
2. [PeerDependencies](#peerdependencies)
|
|
13
|
+
3. [Usage](#usage)
|
|
14
|
+
4. [Props](#props)
|
|
15
|
+
5. [Support](#support)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Description: [](https://opensource.org/licenses/MIT)
|
|
20
|
+
|
|
21
|
+
This is a comprehensive ESLint configuration used by .NFQ. It includes a wide range of rules for JavaScript, TypeScript, React, and more.
|
|
22
|
+
|
|
23
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Getting started
|
|
28
|
+
|
|
29
|
+
To setup the project locally follow the next steps:
|
|
30
|
+
|
|
31
|
+
### Installation
|
|
32
|
+
|
|
33
|
+
To install the package run
|
|
34
|
+
```sh
|
|
35
|
+
npm install <Project name>
|
|
36
|
+
```
|
|
37
|
+
if you are on yarn
|
|
38
|
+
```sh
|
|
39
|
+
yarn add <Project name>
|
|
40
|
+
```
|
|
41
|
+
or on pnpm
|
|
42
|
+
```sh
|
|
43
|
+
pnpm install <Project name>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### PeerDependencies:
|
|
47
|
+
|
|
48
|
+
The following PeerDependencies are needed so the component does work:
|
|
49
|
+
|
|
50
|
+
- eslint-import-resolver-alias >= 1
|
|
51
|
+
- eslint-plugin-array-func >= 3
|
|
52
|
+
- eslint-plugin-better-styled-components >= 1
|
|
53
|
+
- eslint-plugin-import >= 2
|
|
54
|
+
- eslint-plugin-jsdoc >= 43
|
|
55
|
+
- eslint-plugin-jsx-a11y >= 6
|
|
56
|
+
- eslint-plugin-no-unsanitized >= 4
|
|
57
|
+
- eslint-plugin-node >= 11
|
|
58
|
+
- eslint-plugin-perf-standard >= 1
|
|
59
|
+
- eslint-plugin-promise >= 6
|
|
60
|
+
- eslint-plugin-react >= 7
|
|
61
|
+
- eslint-plugin-react-hooks >= 4
|
|
62
|
+
- eslint-plugin-react-hooks-ssr >= 0.1.5
|
|
63
|
+
- eslint-plugin-redos >= 4
|
|
64
|
+
- eslint-plugin-security >= 1
|
|
65
|
+
- eslint-plugin-sort-destructure-keys >= 1
|
|
66
|
+
|
|
67
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Usage
|
|
72
|
+
|
|
73
|
+
After installing the package and its peer dependencies, you can use it in your ESLint configuration file:
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{
|
|
77
|
+
"extends": [
|
|
78
|
+
"@nfq"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Rules
|
|
88
|
+
|
|
89
|
+
This configuration includes a wide range of rules for JavaScript, TypeScript, React, and more. You can find the specific rules in the rules directory.
|
|
90
|
+
|
|
91
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Support
|
|
96
|
+
|
|
97
|
+
Christoph Kruppe - [https://github.com/ckruppe] - c.kruppe@nfq.de
|
|
98
|
+
|
|
99
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<div id="top"></div>
|
|
2
|
+
|
|
3
|
+
# eslint-config-nfq
|
|
4
|
+
|
|
5
|
+
[](https://github.com/nfqde/eslint-config-nfq/actions/workflows/eslint.yml)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
1. [Description](#description)
|
|
10
|
+
2. [Getting started](#getting-started)
|
|
11
|
+
1. [Installation](#installation)
|
|
12
|
+
2. [PeerDependencies](#peerdependencies)
|
|
13
|
+
3. [Usage](#usage)
|
|
14
|
+
4. [Props](#props)
|
|
15
|
+
5. [Support](#support)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Description: [](https://opensource.org/licenses/MIT)
|
|
20
|
+
|
|
21
|
+
This is a comprehensive ESLint configuration used by .NFQ. It includes a wide range of rules for JavaScript, TypeScript, React, and more.
|
|
22
|
+
|
|
23
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Getting started
|
|
28
|
+
|
|
29
|
+
To setup the project locally follow the next steps:
|
|
30
|
+
|
|
31
|
+
### Installation
|
|
32
|
+
|
|
33
|
+
To install the package run
|
|
34
|
+
```sh
|
|
35
|
+
npm install <Project name>
|
|
36
|
+
```
|
|
37
|
+
if you are on yarn
|
|
38
|
+
```sh
|
|
39
|
+
yarn add <Project name>
|
|
40
|
+
```
|
|
41
|
+
or on pnpm
|
|
42
|
+
```sh
|
|
43
|
+
pnpm install <Project name>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### PeerDependencies:
|
|
47
|
+
|
|
48
|
+
The following PeerDependencies are needed so the component does work:
|
|
49
|
+
|
|
50
|
+
- @stylistic/eslint-plugin-ts >= 2
|
|
51
|
+
- eslint-import-resolver-alias >= 1
|
|
52
|
+
- eslint-plugin-array-func >= 3
|
|
53
|
+
- eslint-plugin-better-styled-components >= 1
|
|
54
|
+
- eslint-plugin-import >= 2
|
|
55
|
+
- eslint-plugin-jsdoc >= 43
|
|
56
|
+
- eslint-plugin-jsx-a11y >= 6
|
|
57
|
+
- eslint-plugin-no-unsanitized >= 4
|
|
58
|
+
- eslint-plugin-node >= 11
|
|
59
|
+
- eslint-plugin-perf-standard >= 1
|
|
60
|
+
- eslint-plugin-promise >= 6
|
|
61
|
+
- eslint-plugin-react >= 7
|
|
62
|
+
- eslint-plugin-react-hooks >= 4
|
|
63
|
+
- eslint-plugin-react-hooks-ssr >= 0.1.5
|
|
64
|
+
- eslint-plugin-redos >= 4
|
|
65
|
+
- eslint-plugin-security >= 1
|
|
66
|
+
- eslint-plugin-sort-destructure-keys >= 1
|
|
67
|
+
|
|
68
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Usage
|
|
73
|
+
|
|
74
|
+
After installing the package and its peer dependencies, you can use it in your ESLint configuration file:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"extends": [
|
|
79
|
+
"@nfq"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Rules
|
|
89
|
+
|
|
90
|
+
This configuration includes a wide range of rules for JavaScript, TypeScript, React, and more. You can find the specific rules in the rules directory.
|
|
91
|
+
|
|
92
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Support
|
|
97
|
+
|
|
98
|
+
Christoph Kruppe - [https://github.com/ckruppe] - c.kruppe@nfq.de
|
|
99
|
+
|
|
100
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<div id="top"></div>
|
|
2
|
+
|
|
3
|
+
# eslint-config-nfq
|
|
4
|
+
|
|
5
|
+
[](https://github.com/nfqde/eslint-config-nfq/actions/workflows/eslint.yml)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
1. [Description](#description)
|
|
10
|
+
2. [Getting started](#getting-started)
|
|
11
|
+
1. [Installation](#installation)
|
|
12
|
+
2. [PeerDependencies](#peerdependencies)
|
|
13
|
+
3. [Usage](#usage)
|
|
14
|
+
4. [Props](#props)
|
|
15
|
+
5. [Support](#support)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Description: [](https://opensource.org/licenses/MIT)
|
|
20
|
+
|
|
21
|
+
This is a comprehensive ESLint configuration used by .NFQ. It includes a wide range of rules for JavaScript, TypeScript, React, and more.
|
|
22
|
+
|
|
23
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Getting started
|
|
28
|
+
|
|
29
|
+
To setup the project locally follow the next steps:
|
|
30
|
+
|
|
31
|
+
### Installation
|
|
32
|
+
|
|
33
|
+
To install the package run
|
|
34
|
+
```sh
|
|
35
|
+
npm install <Project name>
|
|
36
|
+
```
|
|
37
|
+
if you are on yarn
|
|
38
|
+
```sh
|
|
39
|
+
yarn add <Project name>
|
|
40
|
+
```
|
|
41
|
+
or on pnpm
|
|
42
|
+
```sh
|
|
43
|
+
pnpm install <Project name>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### PeerDependencies:
|
|
47
|
+
|
|
48
|
+
The following PeerDependencies are needed so the component does work:
|
|
49
|
+
|
|
50
|
+
- @nfq/eslint-plugin >= 0.8.0
|
|
51
|
+
- @stylistic/eslint-plugin-ts >= 2
|
|
52
|
+
- eslint-import-resolver-alias >= 1
|
|
53
|
+
- eslint-plugin-array-func >= 3
|
|
54
|
+
- eslint-plugin-better-styled-components >= 1
|
|
55
|
+
- eslint-plugin-import >= 2
|
|
56
|
+
- eslint-plugin-jsdoc >= 43
|
|
57
|
+
- eslint-plugin-jsx-a11y >= 6
|
|
58
|
+
- eslint-plugin-no-unsanitized >= 4
|
|
59
|
+
- eslint-plugin-node >= 11
|
|
60
|
+
- eslint-plugin-perf-standard >= 1
|
|
61
|
+
- eslint-plugin-promise >= 6
|
|
62
|
+
- eslint-plugin-react >= 7
|
|
63
|
+
- eslint-plugin-react-hooks >= 4
|
|
64
|
+
- eslint-plugin-react-hooks-ssr >= 0.1.5
|
|
65
|
+
- eslint-plugin-redos >= 4
|
|
66
|
+
- eslint-plugin-security >= 1
|
|
67
|
+
- eslint-plugin-sort-destructure-keys >= 1
|
|
68
|
+
|
|
69
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Usage
|
|
74
|
+
|
|
75
|
+
After installing the package and its peer dependencies, you can use it in your ESLint configuration file:
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"extends": [
|
|
80
|
+
"@nfq"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Rules
|
|
90
|
+
|
|
91
|
+
This configuration includes a wide range of rules for JavaScript, TypeScript, React, and more. You can find the specific rules in the rules directory.
|
|
92
|
+
|
|
93
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Support
|
|
98
|
+
|
|
99
|
+
Christoph Kruppe - [https://github.com/ckruppe] - c.kruppe@nfq.de
|
|
100
|
+
|
|
101
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<div id="top"></div>
|
|
2
|
+
|
|
3
|
+
# eslint-config-nfq
|
|
4
|
+
|
|
5
|
+
[](https://github.com/nfqde/eslint-config-nfq/actions/workflows/eslint.yml)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
1. [Description](#description)
|
|
10
|
+
2. [Getting started](#getting-started)
|
|
11
|
+
1. [Installation](#installation)
|
|
12
|
+
2. [PeerDependencies](#peerdependencies)
|
|
13
|
+
3. [Usage](#usage)
|
|
14
|
+
4. [Props](#props)
|
|
15
|
+
5. [Support](#support)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Description: [](https://opensource.org/licenses/MIT)
|
|
20
|
+
|
|
21
|
+
This is a comprehensive ESLint configuration used by .NFQ. It includes a wide range of rules for JavaScript, TypeScript, React, and more.
|
|
22
|
+
|
|
23
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Getting started
|
|
28
|
+
|
|
29
|
+
To setup the project locally follow the next steps:
|
|
30
|
+
|
|
31
|
+
### Installation
|
|
32
|
+
|
|
33
|
+
To install the package run
|
|
34
|
+
```sh
|
|
35
|
+
npm install <Project name>
|
|
36
|
+
```
|
|
37
|
+
if you are on yarn
|
|
38
|
+
```sh
|
|
39
|
+
yarn add <Project name>
|
|
40
|
+
```
|
|
41
|
+
or on pnpm
|
|
42
|
+
```sh
|
|
43
|
+
pnpm install <Project name>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### PeerDependencies:
|
|
47
|
+
|
|
48
|
+
The following PeerDependencies are needed so the component does work:
|
|
49
|
+
|
|
50
|
+
- @nfq/eslint-plugin >= 0.8.0
|
|
51
|
+
- @stylistic/eslint-plugin-ts >= 2
|
|
52
|
+
- @typescript-eslint/eslint-plugin >= 6
|
|
53
|
+
- @typescript-eslint/parser >= 6
|
|
54
|
+
- eslint-import-resolver-alias >= 1
|
|
55
|
+
- eslint-plugin-array-func >= 3
|
|
56
|
+
- eslint-plugin-better-styled-components >= 1
|
|
57
|
+
- eslint-plugin-import >= 2
|
|
58
|
+
- eslint-plugin-jsdoc >= 43
|
|
59
|
+
- eslint-plugin-jsx-a11y >= 6
|
|
60
|
+
- eslint-plugin-no-unsanitized >= 4
|
|
61
|
+
- eslint-plugin-node >= 11
|
|
62
|
+
- eslint-plugin-perf-standard >= 1
|
|
63
|
+
- eslint-plugin-promise >= 6
|
|
64
|
+
- eslint-plugin-react >= 7
|
|
65
|
+
- eslint-plugin-react-hooks >= 4
|
|
66
|
+
- eslint-plugin-react-hooks-ssr >= 0.1.5
|
|
67
|
+
- eslint-plugin-redos >= 4
|
|
68
|
+
- eslint-plugin-security >= 1
|
|
69
|
+
- eslint-plugin-sort-destructure-keys >= 1
|
|
70
|
+
|
|
71
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Usage
|
|
76
|
+
|
|
77
|
+
After installing the package and its peer dependencies, you can use it in your ESLint configuration file:
|
|
78
|
+
|
|
79
|
+
```json
|
|
80
|
+
{
|
|
81
|
+
"extends": [
|
|
82
|
+
"@nfq"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Rules
|
|
92
|
+
|
|
93
|
+
This configuration includes a wide range of rules for JavaScript, TypeScript, React, and more. You can find the specific rules in the rules directory.
|
|
94
|
+
|
|
95
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Support
|
|
100
|
+
|
|
101
|
+
Christoph Kruppe - [https://github.com/ckruppe] - c.kruppe@nfq.de
|
|
102
|
+
|
|
103
|
+
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const global = require('./config/globals');
|
|
2
|
+
const plugins = require('./config/plugins');
|
|
3
|
+
const settings = require('./config/settings');
|
|
4
|
+
const rules = require('./rules');
|
|
5
|
+
const typescript = require('./rules/typescript');
|
|
6
|
+
const typescriptCypress = require('./rules/typescript-cypress-exeptions');
|
|
7
|
+
|
|
8
|
+
module.exports = {
|
|
9
|
+
env: {
|
|
10
|
+
browser: true,
|
|
11
|
+
es6: true,
|
|
12
|
+
node: true
|
|
13
|
+
},
|
|
14
|
+
extends: rules,
|
|
15
|
+
globals: global,
|
|
16
|
+
overrides: [
|
|
17
|
+
{
|
|
18
|
+
files: ['**/*.cy.{ts,cts,mts,tsx}'],
|
|
19
|
+
parser: '@typescript-eslint/parser',
|
|
20
|
+
parserOptions: {project: '**/tsconfig*.json'},
|
|
21
|
+
plugins: ['@typescript-eslint'],
|
|
22
|
+
rules: {
|
|
23
|
+
...typescript.rules,
|
|
24
|
+
...typescriptCypress.rules
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
files: ['**/*.{ts,cts,mts,tsx}'],
|
|
29
|
+
parser: '@typescript-eslint/parser',
|
|
30
|
+
parserOptions: {project: '**/tsconfig*.json'},
|
|
31
|
+
plugins: ['@typescript-eslint'],
|
|
32
|
+
rules: typescript.rules
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
parser: '@babel/eslint-parser',
|
|
36
|
+
parserOptions: {
|
|
37
|
+
ecmaFeatures: {jsx: true},
|
|
38
|
+
ecmaVersion: 8,
|
|
39
|
+
requireConfigFile: false
|
|
40
|
+
},
|
|
41
|
+
plugins,
|
|
42
|
+
settings
|
|
43
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const global = require('./config/globals');
|
|
2
|
+
const plugins = require('./config/plugins');
|
|
3
|
+
const settings = require('./config/settings');
|
|
4
|
+
const rules = require('./rules');
|
|
5
|
+
const stylistic = require('./rules/stylistic');
|
|
6
|
+
const typescript = require('./rules/typescript');
|
|
7
|
+
const typescriptCypress = require('./rules/typescript-cypress-exeptions');
|
|
8
|
+
|
|
9
|
+
module.exports = {
|
|
10
|
+
env: {
|
|
11
|
+
browser: true,
|
|
12
|
+
es6: true,
|
|
13
|
+
node: true
|
|
14
|
+
},
|
|
15
|
+
extends: rules,
|
|
16
|
+
globals: global,
|
|
17
|
+
overrides: [
|
|
18
|
+
{
|
|
19
|
+
files: ['**/*.cy.{ts,cts,mts,tsx}'],
|
|
20
|
+
parser: '@typescript-eslint/parser',
|
|
21
|
+
parserOptions: {project: '**/tsconfig*.json'},
|
|
22
|
+
plugins: ['@typescript-eslint', '@stylistic/ts'],
|
|
23
|
+
rules: {
|
|
24
|
+
...typescript.rules,
|
|
25
|
+
...stylistic.rules,
|
|
26
|
+
...typescriptCypress.rules
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
files: ['**/*.{ts,cts,mts,tsx}'],
|
|
31
|
+
parser: '@typescript-eslint/parser',
|
|
32
|
+
parserOptions: {project: '**/tsconfig*.json'},
|
|
33
|
+
plugins: ['@typescript-eslint', '@stylistic/ts'],
|
|
34
|
+
rules: {
|
|
35
|
+
...typescript.rules,
|
|
36
|
+
...stylistic.rule
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
parser: '@babel/eslint-parser',
|
|
41
|
+
parserOptions: {
|
|
42
|
+
ecmaFeatures: {jsx: true},
|
|
43
|
+
ecmaVersion: 8,
|
|
44
|
+
requireConfigFile: false
|
|
45
|
+
},
|
|
46
|
+
plugins,
|
|
47
|
+
settings
|
|
48
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nfq/eslint-config",
|
|
3
|
+
"version": "3.2.2",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">= 12.0.0"
|
|
6
|
+
},
|
|
7
|
+
"description": "Eslint configuration for all nfq projects",
|
|
8
|
+
"main": "index.js",
|
|
9
|
+
"standard-version": {
|
|
10
|
+
"scripts": {
|
|
11
|
+
"prebump": "nfqBump"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"deploy": "pnpm standard-version && git push --follow-tags origin master && npm publish",
|
|
16
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"eslint",
|
|
20
|
+
"eslintconfig",
|
|
21
|
+
"codestyle",
|
|
22
|
+
"config"
|
|
23
|
+
],
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@babel/core": ">= 7",
|
|
26
|
+
"@babel/eslint-parser": ">= 7",
|
|
27
|
+
"@nfq/eslint-plugin": ">= 0.6.0",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": ">= 6",
|
|
29
|
+
"@typescript-eslint/parser": ">= 6",
|
|
30
|
+
"eslint": ">= 8",
|
|
31
|
+
"eslint-import-resolver-alias": ">= 1",
|
|
32
|
+
"eslint-plugin-array-func": ">= 3",
|
|
33
|
+
"eslint-plugin-better-styled-components": ">= 1",
|
|
34
|
+
"eslint-plugin-import": ">= 2",
|
|
35
|
+
"eslint-plugin-jsdoc": ">= 43",
|
|
36
|
+
"eslint-plugin-jsx-a11y": ">= 6",
|
|
37
|
+
"eslint-plugin-no-unsanitized": ">= 4",
|
|
38
|
+
"eslint-plugin-node": ">= 11",
|
|
39
|
+
"eslint-plugin-perf-standard": ">= 1",
|
|
40
|
+
"eslint-plugin-promise": ">= 6",
|
|
41
|
+
"eslint-plugin-react": ">= 7",
|
|
42
|
+
"eslint-plugin-react-hooks": ">= 4",
|
|
43
|
+
"eslint-plugin-react-hooks-ssr": ">= 0.1.5",
|
|
44
|
+
"eslint-plugin-redos": ">= 4",
|
|
45
|
+
"eslint-plugin-security": ">= 1",
|
|
46
|
+
"eslint-plugin-sort-destructure-keys": ">= 1"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"confusing-browser-globals": "^1.0.11"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@babel/core": "^7.25.2",
|
|
53
|
+
"@babel/eslint-parser": "^7.25.1",
|
|
54
|
+
"@nfq/eslint-plugin": "^0.8.2",
|
|
55
|
+
"@stylistic/eslint-plugin-ts": "^2.9.0",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.8.0",
|
|
58
|
+
"eslint": "^8.57.1",
|
|
59
|
+
"eslint-import-resolver-alias": "^1.1.2",
|
|
60
|
+
"eslint-plugin-array-func": "^4.0.0",
|
|
61
|
+
"eslint-plugin-better-styled-components": "^1.1.2",
|
|
62
|
+
"eslint-plugin-import": "^2.30.0",
|
|
63
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
64
|
+
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
65
|
+
"eslint-plugin-no-unsanitized": "^4.1.2",
|
|
66
|
+
"eslint-plugin-node": "^11.1.0",
|
|
67
|
+
"eslint-plugin-perf-standard": "^1.0.3",
|
|
68
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
69
|
+
"eslint-plugin-react": "^7.37.1",
|
|
70
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
71
|
+
"eslint-plugin-react-hooks-ssr": "^0.1.5",
|
|
72
|
+
"eslint-plugin-redos": "4.5.0-beta.6",
|
|
73
|
+
"eslint-plugin-security": "^3.0.1",
|
|
74
|
+
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
75
|
+
"standard-version": "^9.5.0"
|
|
76
|
+
},
|
|
77
|
+
"author": ".NFQ | Christoph Kruppe",
|
|
78
|
+
"license": "ISC"
|
|
79
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nfq/eslint-config",
|
|
3
|
+
"version": "3.2.2",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">= 12.0.0"
|
|
6
|
+
},
|
|
7
|
+
"description": "Eslint configuration for all nfq projects",
|
|
8
|
+
"main": "index.js",
|
|
9
|
+
"standard-version": {
|
|
10
|
+
"scripts": {
|
|
11
|
+
"prebump": "nfqBump"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"deploy": "pnpm standard-version && git push --follow-tags origin master && npm publish",
|
|
16
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"eslint",
|
|
20
|
+
"eslintconfig",
|
|
21
|
+
"codestyle",
|
|
22
|
+
"config"
|
|
23
|
+
],
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@babel/core": ">= 7",
|
|
26
|
+
"@babel/eslint-parser": ">= 7",
|
|
27
|
+
"@nfq/eslint-plugin": ">= 0.6.0",
|
|
28
|
+
"@stylistic/eslint-plugin-ts": ">= 2",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": ">= 6",
|
|
30
|
+
"@typescript-eslint/parser": ">= 6",
|
|
31
|
+
"eslint": ">= 8",
|
|
32
|
+
"eslint-import-resolver-alias": ">= 1",
|
|
33
|
+
"eslint-plugin-array-func": ">= 3",
|
|
34
|
+
"eslint-plugin-better-styled-components": ">= 1",
|
|
35
|
+
"eslint-plugin-import": ">= 2",
|
|
36
|
+
"eslint-plugin-jsdoc": ">= 43",
|
|
37
|
+
"eslint-plugin-jsx-a11y": ">= 6",
|
|
38
|
+
"eslint-plugin-no-unsanitized": ">= 4",
|
|
39
|
+
"eslint-plugin-node": ">= 11",
|
|
40
|
+
"eslint-plugin-perf-standard": ">= 1",
|
|
41
|
+
"eslint-plugin-promise": ">= 6",
|
|
42
|
+
"eslint-plugin-react": ">= 7",
|
|
43
|
+
"eslint-plugin-react-hooks": ">= 4",
|
|
44
|
+
"eslint-plugin-react-hooks-ssr": ">= 0.1.5",
|
|
45
|
+
"eslint-plugin-redos": ">= 4",
|
|
46
|
+
"eslint-plugin-security": ">= 1",
|
|
47
|
+
"eslint-plugin-sort-destructure-keys": ">= 1"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"confusing-browser-globals": "^1.0.11"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@babel/core": "^7.25.2",
|
|
54
|
+
"@babel/eslint-parser": "^7.25.1",
|
|
55
|
+
"@nfq/eslint-plugin": "^0.8.2",
|
|
56
|
+
"@stylistic/eslint-plugin-ts": "^2.9.0",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.8.0",
|
|
59
|
+
"eslint": "^8.57.1",
|
|
60
|
+
"eslint-import-resolver-alias": "^1.1.2",
|
|
61
|
+
"eslint-plugin-array-func": "^4.0.0",
|
|
62
|
+
"eslint-plugin-better-styled-components": "^1.1.2",
|
|
63
|
+
"eslint-plugin-import": "^2.30.0",
|
|
64
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
65
|
+
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
66
|
+
"eslint-plugin-no-unsanitized": "^4.1.2",
|
|
67
|
+
"eslint-plugin-node": "^11.1.0",
|
|
68
|
+
"eslint-plugin-perf-standard": "^1.0.3",
|
|
69
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
70
|
+
"eslint-plugin-react": "^7.37.1",
|
|
71
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
72
|
+
"eslint-plugin-react-hooks-ssr": "^0.1.5",
|
|
73
|
+
"eslint-plugin-redos": "4.5.0-beta.6",
|
|
74
|
+
"eslint-plugin-security": "^3.0.1",
|
|
75
|
+
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
76
|
+
"standard-version": "^9.5.0"
|
|
77
|
+
},
|
|
78
|
+
"author": ".NFQ | Christoph Kruppe",
|
|
79
|
+
"license": "ISC"
|
|
80
|
+
}
|
|
File without changes
|