@tpluscode/eslint-config 0.5.0 → 0.6.1
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 +16 -0
- package/js.js +7 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7ed97bd: Mocha was added dev dependency instead of prod dependency
|
|
8
|
+
|
|
9
|
+
## 0.6.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 9f0174f: Added recommended mocha rules
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- ca15bcd: Allow test dev deps is `tests` directory (plural)
|
|
18
|
+
|
|
3
19
|
## 0.5.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/js.js
CHANGED
|
@@ -4,13 +4,15 @@ module.exports = {
|
|
|
4
4
|
'plugin:import/errors',
|
|
5
5
|
'plugin:import/warnings',
|
|
6
6
|
'plugin:require-extensions/recommended',
|
|
7
|
-
'plugin:rdf/recommended'
|
|
7
|
+
'plugin:rdf/recommended',
|
|
8
|
+
'plugin:mocha/recommended'
|
|
8
9
|
],
|
|
9
10
|
plugins: [
|
|
10
11
|
'import',
|
|
11
12
|
'require-extensions',
|
|
12
13
|
'unused-imports',
|
|
13
|
-
'rdf'
|
|
14
|
+
'rdf',
|
|
15
|
+
'mocha'
|
|
14
16
|
],
|
|
15
17
|
rules: {
|
|
16
18
|
indent: ['error', 2],
|
|
@@ -33,14 +35,17 @@ module.exports = {
|
|
|
33
35
|
{
|
|
34
36
|
devDependencies: [
|
|
35
37
|
'**/test/**/*.ts',
|
|
38
|
+
'**/tests/**/*.ts',
|
|
36
39
|
'*.test.ts',
|
|
37
40
|
'*.spec.ts',
|
|
38
41
|
'*.test.js',
|
|
39
42
|
'*.spec.js',
|
|
40
43
|
'**/test/**/*.js',
|
|
44
|
+
'**/tests/**/*.js',
|
|
41
45
|
'*.test.js',
|
|
42
46
|
'*.spec.js',
|
|
43
47
|
'**/test/**/*.mjs',
|
|
48
|
+
'**/tests/**/*.mjs',
|
|
44
49
|
'*.test.mjs',
|
|
45
50
|
'*.spec.mjs'
|
|
46
51
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tpluscode/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"eslint": ">=6",
|
|
13
13
|
"eslint-config-standard": ">=11",
|
|
14
14
|
"eslint-plugin-import": ">=2",
|
|
15
|
+
"eslint-plugin-mocha": "^10.5.0",
|
|
15
16
|
"eslint-plugin-n": ">=15",
|
|
16
17
|
"eslint-plugin-node": ">=11",
|
|
17
18
|
"eslint-plugin-promise": ">=6",
|