@dcl/eslint-config 1.0.1-20211110233139.commit-9d423e5 → 1.0.1-20211208152037.commit-39b2121
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/.eslintrc.js +9 -2
- package/README.md +7 -12
- package/package.json +2 -2
package/.eslintrc.js
CHANGED
|
@@ -24,6 +24,13 @@ module.exports = {
|
|
|
24
24
|
"@typescript-eslint/no-empty-function": "off",
|
|
25
25
|
"@typescript-eslint/no-explicit-any": "off",
|
|
26
26
|
"@typescript-eslint/no-floating-promises": 2,
|
|
27
|
-
"@typescript-eslint/no-
|
|
27
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
28
|
+
"@typescript-eslint/no-unused-vars": [
|
|
29
|
+
"warn",
|
|
30
|
+
{
|
|
31
|
+
"ignoreRestSiblings": true,
|
|
32
|
+
"argsIgnorePattern": "^_"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
28
35
|
}
|
|
29
|
-
}
|
|
36
|
+
}
|
package/README.md
CHANGED
|
@@ -2,28 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## Installation
|
|
4
4
|
```sh
|
|
5
|
-
npm install -D eslint-config
|
|
6
|
-
```
|
|
7
|
-
- Install peer dependencies
|
|
8
|
-
```sh
|
|
9
|
-
npm info eslint-config-decentraland peerDependencies
|
|
10
|
-
```
|
|
11
|
-
or
|
|
12
|
-
```sh
|
|
13
|
-
npx install-peerdeps --dev eslint-config-decentraland
|
|
5
|
+
npm install -D @dcl/eslint-config
|
|
14
6
|
```
|
|
15
7
|
|
|
16
8
|
## Usage
|
|
17
9
|
|
|
18
|
-
In `eslintrc.
|
|
10
|
+
In `eslintrc.json`:
|
|
19
11
|
|
|
20
12
|
```js
|
|
21
13
|
{
|
|
22
|
-
"extends": "@dcl/eslint-config"
|
|
14
|
+
"extends": "@dcl/eslint-config",
|
|
15
|
+
"parserOptions": {
|
|
16
|
+
"project": ["tsconfig.json", "test/tsconfig.json"]
|
|
17
|
+
}
|
|
23
18
|
}
|
|
24
19
|
```
|
|
25
20
|
|
|
26
21
|
|
|
27
22
|
## License
|
|
28
23
|
|
|
29
|
-
Apache 2.0
|
|
24
|
+
Apache 2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/eslint-config",
|
|
3
|
-
"version": "1.0.1-
|
|
3
|
+
"version": "1.0.1-20211208152037.commit-39b2121",
|
|
4
4
|
"description": "Decentraland ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"README.md",
|
|
45
45
|
"LICENSE"
|
|
46
46
|
],
|
|
47
|
-
"commit": "
|
|
47
|
+
"commit": "39b21210c10c6c598200de4fa46c7a9ec0eb9d6f"
|
|
48
48
|
}
|