@hyperupcall/eslint-config 0.10.0 → 0.11.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/README.md +6 -4
- package/dist/eslintrc.cjs +6 -2
- package/dist/eslintrc.mjs +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,10 +5,12 @@ Edwin's [ESLint](https://eslint.org) configuration.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
pnpm i -D
|
|
9
|
-
eslint-config-prettier \
|
|
10
|
-
eslint-plugin-import eslint-plugin-markdown eslint-plugin-promise
|
|
11
|
-
|
|
8
|
+
pnpm i -D \
|
|
9
|
+
eslint eslint-config-prettier @hyperupcall/eslint-config \
|
|
10
|
+
eslint-plugin-import eslint-plugin-markdown eslint-plugin-promise \
|
|
11
|
+
eslint-plugin-n eslint-plugin-unicorn eslint-plugin-security \
|
|
12
|
+
@eslint-community/eslint-plugin-eslint-comments eslint-plugin-regexp \
|
|
13
|
+
eslint-plugin-perfectionist eslint-plugin-no-unsanitized eslint-mdx
|
|
12
14
|
```
|
|
13
15
|
|
|
14
16
|
## Usage
|
package/dist/eslintrc.cjs
CHANGED
|
@@ -13,8 +13,12 @@ var src = {
|
|
|
13
13
|
'plugin:n/recommended',
|
|
14
14
|
'plugin:unicorn/recommended',
|
|
15
15
|
// 'plugin:security/recommended-legacy',
|
|
16
|
-
|
|
17
|
-
'
|
|
16
|
+
'plugin:@eslint-community/eslint-comments/recommended',
|
|
17
|
+
'plugin:regexp/recommended',
|
|
18
|
+
'eslint-config-prettier',
|
|
19
|
+
'plugin:perfectionist/recommended-natural',
|
|
20
|
+
'plugin:no-unsanitized/DOM',
|
|
21
|
+
'plugin:mdx/recommended'
|
|
18
22
|
],
|
|
19
23
|
env: {
|
|
20
24
|
'shared-node-browser': true,
|
package/dist/eslintrc.mjs
CHANGED
|
@@ -11,8 +11,12 @@ var src = {
|
|
|
11
11
|
'plugin:n/recommended',
|
|
12
12
|
'plugin:unicorn/recommended',
|
|
13
13
|
// 'plugin:security/recommended-legacy',
|
|
14
|
-
|
|
15
|
-
'
|
|
14
|
+
'plugin:@eslint-community/eslint-comments/recommended',
|
|
15
|
+
'plugin:regexp/recommended',
|
|
16
|
+
'eslint-config-prettier',
|
|
17
|
+
'plugin:perfectionist/recommended-natural',
|
|
18
|
+
'plugin:no-unsanitized/DOM',
|
|
19
|
+
'plugin:mdx/recommended'
|
|
16
20
|
],
|
|
17
21
|
env: {
|
|
18
22
|
'shared-node-browser': true,
|