@tpluscode/eslint-config 0.4.2 → 0.4.4

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 3edea08: allow dev deps in \*.test.js
8
+
9
+ ## 0.4.3
10
+
11
+ ### Patch Changes
12
+
13
+ - e9106a0: Update `eslint-plugin-require-extensions` to support fix index imports and handle parametrised imports
14
+ - cda97a1: Simplify installation instructions
15
+
3
16
  ## 0.4.2
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
- For JS project:
7
+ Newer NPM installs peer dependencies automatically
8
8
 
9
9
  ```
10
- npm i --save-dev \
11
- @tpluscode/eslint-config \
12
- eslint-config-standard \
13
- eslint-plugin-import \
14
- eslint-plugin-node \
15
- eslint-plugin-promise \
16
- eslint-plugin-n \
17
- eslint-plugin-require-extensions \
18
- standard
10
+ npm i --save-dev @tpluscode/eslint-config
11
+ ```
12
+
13
+ For yarn v1 use `install-peerdeps` (`--extra-args` needed for monorepos):
14
+
15
+ ```
16
+ npx install-peerdeps -Yd @tpluscode/eslint-config (--extra-args "-W")
19
17
  ```
20
18
 
21
19
  If you write code in TypeScript, add:
package/js.js CHANGED
@@ -32,6 +32,8 @@ module.exports = {
32
32
  '**/test/**/*.ts',
33
33
  '*.test.ts',
34
34
  '*.spec.ts',
35
+ '*.test.js',
36
+ '*.spec.js',
35
37
  '**/test/**/*.js',
36
38
  '*.test.js',
37
39
  '*.spec.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpluscode/eslint-config",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
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.2",
18
+ "eslint-plugin-require-extensions": ">=0.1.3",
19
19
  "standard": ">=11"
20
20
  },
21
21
  "optionalDependencies": {