@tpluscode/eslint-config 0.4.1 → 0.4.3
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/CHANGELOG.md +13 -0
- package/README.md +8 -10
- package/js.js +6 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e9106a0: Update `eslint-plugin-require-extensions` to support fix index imports and handle parametrised imports
|
|
8
|
+
- cda97a1: Simplify installation instructions
|
|
9
|
+
|
|
10
|
+
## 0.4.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- ee3af50: Apply overrides to `.mjs` too
|
|
15
|
+
|
|
3
16
|
## 0.4.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,18 +4,16 @@ Slightly customized `standard` config.
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Newer NPM installs peer dependencies automatically
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm i --save-dev
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
eslint-plugin-require-extensions \
|
|
18
|
-
standard
|
|
10
|
+
npm i --save-dev @tpluscode/eslint-config
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
With yarn v1 install with:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
npx install-peerdeps -Yd @tpluscode/eslint-config
|
|
19
17
|
```
|
|
20
18
|
|
|
21
19
|
If you write code in TypeScript, add:
|
package/js.js
CHANGED
|
@@ -34,7 +34,10 @@ module.exports = {
|
|
|
34
34
|
'*.spec.ts',
|
|
35
35
|
'**/test/**/*.js',
|
|
36
36
|
'*.test.js',
|
|
37
|
-
'*.spec.js'
|
|
37
|
+
'*.spec.js',
|
|
38
|
+
'**/test/**/*.mjs',
|
|
39
|
+
'*.test.mjs',
|
|
40
|
+
'*.spec.mjs'
|
|
38
41
|
],
|
|
39
42
|
optionalDependencies: false
|
|
40
43
|
}
|
|
@@ -48,6 +51,8 @@ module.exports = {
|
|
|
48
51
|
files: [
|
|
49
52
|
'*.test.js',
|
|
50
53
|
'*.spec.js',
|
|
54
|
+
'*.test.mjs',
|
|
55
|
+
'*.spec.mjs',
|
|
51
56
|
'*.test.ts',
|
|
52
57
|
'*.spec.ts'
|
|
53
58
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tpluscode/eslint-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"eslint-plugin-node": ">=11",
|
|
16
16
|
"eslint-plugin-promise": ">=6",
|
|
17
17
|
"eslint-plugin-n": ">=15",
|
|
18
|
-
"eslint-plugin-require-extensions": ">=0.1.
|
|
18
|
+
"eslint-plugin-require-extensions": ">=0.1.3",
|
|
19
19
|
"standard": ">=11"
|
|
20
20
|
},
|
|
21
21
|
"optionalDependencies": {
|