Skip to content

Commit ce81cbe

Browse files
committedOct 17, 2022
[eclint] fix editorconfig
See #583
1 parent 2f61eac commit ce81cbe

File tree

3 files changed

+128
-128
lines changed

3 files changed

+128
-128
lines changed
 

‎.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
root = true
22

33
[*]
4-
indent_style = space
4+
indent_style = tab
55
indent_size = 4
66
end_of_line = lf
77
charset = utf-8

‎index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ var createResult = require('./lib/results');
77
var through = require('through');
88

99
var canEmitExit = typeof process !== 'undefined' && process
10-
&& typeof process.on === 'function' && process.browser !== true;
10+
&& typeof process.on === 'function' && process.browser !== true;
1111
var canExit = typeof process !== 'undefined' && process
12-
&& typeof process.exit === 'function';
12+
&& typeof process.exit === 'function';
1313

1414
module.exports = (function () {
1515
var wait = false;

‎package.json

+125-125
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,127 @@
11
{
2-
"name": "tape",
3-
"version": "5.6.1",
4-
"description": "tap-producing test harness for node and browsers",
5-
"main": "index.js",
6-
"browser": {
7-
"fs": false
8-
},
9-
"exports": {
10-
".": [
11-
{
12-
"default": "./index.js"
13-
},
14-
"./index.js"
15-
],
16-
"./lib/default_stream": "./lib/default_stream.js",
17-
"./lib/results": "./lib/results.js",
18-
"./lib/test": "./lib/test.js",
19-
"./package": "./package.json",
20-
"./package.json": "./package.json"
21-
},
22-
"bin": "./bin/tape",
23-
"directories": {
24-
"example": "example",
25-
"test": "test"
26-
},
27-
"dependencies": {
28-
"array.prototype.every": "^1.1.3",
29-
"call-bind": "^1.0.2",
30-
"deep-equal": "^2.0.5",
31-
"defined": "^1.0.0",
32-
"dotignore": "^0.1.2",
33-
"for-each": "^0.3.3",
34-
"get-package-type": "^0.1.0",
35-
"glob": "^7.2.3",
36-
"has": "^1.0.3",
37-
"has-dynamic-import": "^2.0.1",
38-
"inherits": "^2.0.4",
39-
"is-regex": "^1.1.4",
40-
"minimist": "^1.2.6",
41-
"object-inspect": "^1.12.2",
42-
"object-is": "^1.1.5",
43-
"object-keys": "^1.1.1",
44-
"object.assign": "^4.1.4",
45-
"resolve": "^2.0.0-next.3",
46-
"resumer": "^0.0.0",
47-
"string.prototype.trim": "^1.2.6",
48-
"through": "^2.3.8"
49-
},
50-
"devDependencies": {
51-
"@ljharb/eslint-config": "^21.0.0",
52-
"array.prototype.flatmap": "^1.3.0",
53-
"aud": "^2.0.0",
54-
"auto-changelog": "^2.4.0",
55-
"concat-stream": "^1.6.2",
56-
"eclint": "^2.8.1",
57-
"ecstatic": "^4.1.4",
58-
"es-value-fixtures": "^1.4.2",
59-
"eslint": "=8.8.0",
60-
"falafel": "^2.2.5",
61-
"js-yaml": "^3.14.0",
62-
"npm-run-posix-or-windows": "^2.0.2",
63-
"npmignore": "^0.3.0",
64-
"safe-publish-latest": "^2.0.0",
65-
"tap": "^8.0.1",
66-
"tap-parser": "^5.4.0"
67-
},
68-
"scripts": {
69-
"prepack": "npmignore --auto --commentLines=autogenerated",
70-
"version": "auto-changelog && git add CHANGELOG.md",
71-
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
72-
"prepublishOnly": "safe-publish-latest",
73-
"prepublish": "!(type not-in-publish) || not-in-publish || npm run prepublishOnly",
74-
"prelint:files": "git ls-files 2>/dev/null | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' || echo '*.md *.js test/*.js'",
75-
"eclint": "FILES=\"$(npm run --silent prelint:files)\" eclint check \"${FILES:=package.json}\"",
76-
"eclint:windows": "eclint check *.js",
77-
"prelint": "npm-run-posix-or-windows eclint",
78-
"lint": "eslint --ext .js,.cjs,.mjs . bin/*",
79-
"pretest": "npm run lint",
80-
"test": "npm run tests-only",
81-
"posttest": "aud --production",
82-
"tests-only": "nyc tap 'test/*.js'",
83-
"test:example": "find example -name '*.js' | grep -v fail | grep -v static | xargs tap"
84-
},
85-
"testling": {
86-
"files": "test/browser/*.js",
87-
"browsers": [
88-
"ie/6..latest",
89-
"chrome/20..latest",
90-
"firefox/10..latest",
91-
"safari/latest",
92-
"opera/11.0..latest",
93-
"iphone/6",
94-
"ipad/6"
95-
]
96-
},
97-
"repository": {
98-
"type": "git",
99-
"url": "git://github.com/ljharb/tape.git"
100-
},
101-
"homepage": "https://github.com/ljharb/tape",
102-
"keywords": [
103-
"tap",
104-
"test",
105-
"harness",
106-
"assert",
107-
"browser"
108-
],
109-
"author": "Jordan Harband <ljharb@gmail.com>",
110-
"funding": {
111-
"url": "https://github.com/sponsors/ljharb"
112-
},
113-
"license": "MIT",
114-
"auto-changelog": {
115-
"output": "CHANGELOG.md",
116-
"template": "keepachangelog",
117-
"unreleased": false,
118-
"commitLimit": false,
119-
"backfillLimit": false,
120-
"hideCredit": true
121-
},
122-
"publishConfig": {
123-
"ignore": [
124-
".github/workflows"
125-
]
126-
}
2+
"name": "tape",
3+
"version": "5.6.1",
4+
"description": "tap-producing test harness for node and browsers",
5+
"main": "index.js",
6+
"browser": {
7+
"fs": false
8+
},
9+
"exports": {
10+
".": [
11+
{
12+
"default": "./index.js"
13+
},
14+
"./index.js"
15+
],
16+
"./lib/default_stream": "./lib/default_stream.js",
17+
"./lib/results": "./lib/results.js",
18+
"./lib/test": "./lib/test.js",
19+
"./package": "./package.json",
20+
"./package.json": "./package.json"
21+
},
22+
"bin": "./bin/tape",
23+
"directories": {
24+
"example": "example",
25+
"test": "test"
26+
},
27+
"dependencies": {
28+
"array.prototype.every": "^1.1.3",
29+
"call-bind": "^1.0.2",
30+
"deep-equal": "^2.0.5",
31+
"defined": "^1.0.0",
32+
"dotignore": "^0.1.2",
33+
"for-each": "^0.3.3",
34+
"get-package-type": "^0.1.0",
35+
"glob": "^7.2.3",
36+
"has": "^1.0.3",
37+
"has-dynamic-import": "^2.0.1",
38+
"inherits": "^2.0.4",
39+
"is-regex": "^1.1.4",
40+
"minimist": "^1.2.6",
41+
"object-inspect": "^1.12.2",
42+
"object-is": "^1.1.5",
43+
"object-keys": "^1.1.1",
44+
"object.assign": "^4.1.4",
45+
"resolve": "^2.0.0-next.3",
46+
"resumer": "^0.0.0",
47+
"string.prototype.trim": "^1.2.6",
48+
"through": "^2.3.8"
49+
},
50+
"devDependencies": {
51+
"@ljharb/eslint-config": "^21.0.0",
52+
"array.prototype.flatmap": "^1.3.0",
53+
"aud": "^2.0.0",
54+
"auto-changelog": "^2.4.0",
55+
"concat-stream": "^1.6.2",
56+
"eclint": "^2.8.1",
57+
"ecstatic": "^4.1.4",
58+
"es-value-fixtures": "^1.4.2",
59+
"eslint": "=8.8.0",
60+
"falafel": "^2.2.5",
61+
"js-yaml": "^3.14.0",
62+
"npm-run-posix-or-windows": "^2.0.2",
63+
"npmignore": "^0.3.0",
64+
"safe-publish-latest": "^2.0.0",
65+
"tap": "^8.0.1",
66+
"tap-parser": "^5.4.0"
67+
},
68+
"scripts": {
69+
"prepack": "npmignore --auto --commentLines=autogenerated",
70+
"version": "auto-changelog && git add CHANGELOG.md",
71+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
72+
"prepublishOnly": "safe-publish-latest",
73+
"prepublish": "!(type not-in-publish) || not-in-publish || npm run prepublishOnly",
74+
"prelint:files": "git ls-files 2>/dev/null | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' || echo '*.md *.js test/*.js'",
75+
"eclint": "FILES=\"$(npm run --silent prelint:files)\" eclint check \"${FILES:=package.json}\"",
76+
"eclint:windows": "eclint check *.js",
77+
"prelint": "npm-run-posix-or-windows eclint",
78+
"lint": "eslint --ext .js,.cjs,.mjs . bin/*",
79+
"pretest": "npm run lint",
80+
"test": "npm run tests-only",
81+
"posttest": "aud --production",
82+
"tests-only": "nyc tap 'test/*.js'",
83+
"test:example": "find example -name '*.js' | grep -v fail | grep -v static | xargs tap"
84+
},
85+
"testling": {
86+
"files": "test/browser/*.js",
87+
"browsers": [
88+
"ie/6..latest",
89+
"chrome/20..latest",
90+
"firefox/10..latest",
91+
"safari/latest",
92+
"opera/11.0..latest",
93+
"iphone/6",
94+
"ipad/6"
95+
]
96+
},
97+
"repository": {
98+
"type": "git",
99+
"url": "git://github.com/ljharb/tape.git"
100+
},
101+
"homepage": "https://github.com/ljharb/tape",
102+
"keywords": [
103+
"tap",
104+
"test",
105+
"harness",
106+
"assert",
107+
"browser"
108+
],
109+
"author": "Jordan Harband <ljharb@gmail.com>",
110+
"funding": {
111+
"url": "https://github.com/sponsors/ljharb"
112+
},
113+
"license": "MIT",
114+
"auto-changelog": {
115+
"output": "CHANGELOG.md",
116+
"template": "keepachangelog",
117+
"unreleased": false,
118+
"commitLimit": false,
119+
"backfillLimit": false,
120+
"hideCredit": true
121+
},
122+
"publishConfig": {
123+
"ignore": [
124+
".github/workflows"
125+
]
126+
}
127127
}

0 commit comments

Comments
 (0)
Please sign in to comment.