@newsteam/eslint-config 0.0.60 → 0.0.61
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/LICENSE +1 -1
- package/README.md +3 -3
- package/lib/index.test.mjs +9 -0
- package/package.json +8 -9
- package/lib/test/test-duplicate-import-from.d.ts +0 -4
- package/lib/test/test-duplicate-import-from.js +0 -12
- package/lib/test/test-duplicate-import-from.mjs +0 -3
- package/lib/test/test-duplicate-import.d.ts +0 -1
- package/lib/test/test-duplicate-import.js +0 -7
- package/lib/test/test-duplicate-import.mjs +0 -4
- package/lib/test/test-eslint-plugin-more.d.ts +0 -2
- package/lib/test/test-eslint-plugin-more.js +0 -14
- package/lib/test/test-eslint-plugin-more.mjs +0 -4
- package/lib/test/test-import.js +0 -3
- package/lib/test/test-import.mjs +0 -1
- package/lib/test/test-typescript-issues.d.ts +0 -2
- package/lib/test/test-typescript-issues.js +0 -15
- package/lib/test/test-typescript-issues.mjs +0 -6
- package/lib/test/test-webpack-comment.js +0 -14
- package/lib/test/test-webpack-comment.mjs +0 -6
- package/lib/test/unpublished-import-json.json +0 -3
- package/lib/test/unpublished-import.d.ts +0 -1
- package/lib/test/unpublished-import.js +0 -7
- package/lib/test/unpublished-import.mjs +0 -2
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @newsteam/eslint-config
|
|
2
2
|
|
|
3
|
-
[](https://github.com/feight/
|
|
3
|
+
[](https://github.com/feight/newsteam/blob/master/LICENSE)
|
|
4
4
|
[](https://www.npmjs.com/package/@newsteam/eslint-config)
|
|
5
5
|
[](https://www.npmjs.com/package/@newsteam/eslint-config)
|
|
6
|
-
[](https://david-dm.org/feight/newsteam?path=eslint-config)
|
|
7
|
+
[](https://david-dm.org/feight/newsteam?type=dev&path=eslint-config)
|
|
8
8
|
|
|
9
9
|
This package provides a shared config for eslint and several of its plugins.
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"types": "lib",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"update": "ncu -u"
|
|
8
|
+
"build": "make build",
|
|
9
|
+
"prepublishOnly": "make prepublish",
|
|
10
|
+
"test": "make test",
|
|
11
|
+
"update": "make update"
|
|
13
12
|
},
|
|
14
13
|
"browserslist": "node 12",
|
|
15
14
|
"engines": {
|
|
@@ -17,7 +16,7 @@
|
|
|
17
16
|
},
|
|
18
17
|
"repository": {
|
|
19
18
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/feight/
|
|
19
|
+
"url": "https://github.com/feight/newsteam"
|
|
21
20
|
},
|
|
22
21
|
"author": "News Team (https://www.newsteam.io)",
|
|
23
22
|
"contributors": [
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
"access": "public"
|
|
32
31
|
},
|
|
33
32
|
"bugs": {
|
|
34
|
-
"url": "https://github.com/feight/
|
|
33
|
+
"url": "https://github.com/feight/newsteam/issues"
|
|
35
34
|
},
|
|
36
35
|
"keywords": [
|
|
37
36
|
"eslint",
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
"newsteam",
|
|
41
40
|
"@newsteam"
|
|
42
41
|
],
|
|
43
|
-
"homepage": "https://github.com/feight/
|
|
42
|
+
"homepage": "https://github.com/feight/newsteam/tree/main/packages/eslint-config#readme",
|
|
44
43
|
"files": [
|
|
45
44
|
"lib"
|
|
46
45
|
],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.test = exports.foo = void 0;
|
|
7
|
-
|
|
8
|
-
const foo = function () {
|
|
9
|
-
return "foo";
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
exports.foo = foo;
|
|
13
|
-
const test = `${foo()}bar`;
|
|
14
|
-
exports.test = test;
|
package/lib/test/test-import.js
DELETED
package/lib/test/test-import.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const test = "test";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
const doSomething = function (number) {
|
|
9
|
-
return number * 2;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
doSomething(1);
|
|
13
|
-
var _default = doSomething;
|
|
14
|
-
exports.default = _default;
|
|
15
|
-
module.exports = exports.default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|