Skip to content

Commit c230075

Browse files
fixes formatting
1 parent 43afc88 commit c230075

File tree

3 files changed

+111
-122
lines changed

3 files changed

+111
-122
lines changed

package.json

Lines changed: 91 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,94 @@
11
{
2-
"name": "unist-util-remove",
3-
"version": "2.0.1",
4-
"description": "unist utility to remove nodes from a tree",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"unist-util",
9-
"util",
10-
"utility",
11-
"ast",
12-
"tree",
13-
"node",
14-
"cascade",
15-
"delete",
16-
"mutable",
17-
"remove",
18-
"squeeze",
19-
"strip"
20-
],
21-
"repository": "syntax-tree/unist-util-remove",
22-
"bugs": "https://github.com/syntax-tree/unist-util-remove/issues",
23-
"funding": {
24-
"type": "opencollective",
25-
"url": "https://opencollective.com/unified"
26-
},
27-
"author": "Eugene Sharygin <eush77@gmail.com>",
28-
"contributors": [
29-
"Eugene Sharygin <eush77@gmail.com>",
30-
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
31-
],
32-
"files": [
33-
"index.js",
34-
"types/index.d.ts"
35-
],
36-
"types": "types/index.d.ts",
37-
"ignores": [
38-
"types"
39-
],
40-
"dependencies": {
41-
"unist-util-is": "^4.0.0"
42-
},
43-
"devDependencies": {
44-
"dtslint": "^4.0.0",
45-
"nyc": "^15.0.0",
46-
"prettier": "^2.0.0",
47-
"remark-cli": "^9.0.0",
48-
"remark-preset-wooorm": "^8.0.0",
49-
"tape": "^5.0.0",
50-
"unist-builder": "^2.0.0",
51-
"xo": "^0.35.0"
52-
},
53-
"scripts": {
54-
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
55-
"test-api": "node test",
56-
"test-coverage": "nyc --reporter lcov tape test.js",
57-
"test-types": "dtslint types",
58-
"test": "npm run format && npm run test-coverage && npm run test-types"
59-
},
60-
"nyc": {
61-
"check-coverage": true,
62-
"lines": 100,
63-
"functions": 100,
64-
"branches": 100
65-
},
66-
"prettier": {
67-
"tabWidth": 2,
68-
"useTabs": false,
69-
"singleQuote": true,
70-
"bracketSpacing": false,
71-
"semi": false,
72-
"trailingComma": "none"
73-
},
74-
"xo": {
75-
"prettier": true,
76-
"esnext": false,
77-
"rules": {
78-
"eqeqeq": [
79-
"error",
80-
"always",
81-
{
82-
"null": "ignore"
83-
}
84-
],
85-
"no-eq-null": "off",
86-
"unicorn/explicit-length-check": "off"
2+
"name": "unist-util-remove",
3+
"version": "2.0.1",
4+
"description": "unist utility to remove nodes from a tree",
5+
"license": "MIT",
6+
"keywords": [
7+
"unist",
8+
"unist-util",
9+
"util",
10+
"utility",
11+
"ast",
12+
"tree",
13+
"node",
14+
"cascade",
15+
"delete",
16+
"mutable",
17+
"remove",
18+
"squeeze",
19+
"strip"
20+
],
21+
"repository": "syntax-tree/unist-util-remove",
22+
"bugs": "https://github.com/syntax-tree/unist-util-remove/issues",
23+
"funding": {
24+
"type": "opencollective",
25+
"url": "https://opencollective.com/unified"
26+
},
27+
"author": "Eugene Sharygin <eush77@gmail.com>",
28+
"contributors": [
29+
"Eugene Sharygin <eush77@gmail.com>",
30+
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
31+
],
32+
"files": [
33+
"index.js",
34+
"types/index.d.ts"
35+
],
36+
"types": "types/index.d.ts",
37+
"ignores": [
38+
"types"
39+
],
40+
"dependencies": {
41+
"unist-util-is": "^4.0.0"
42+
},
43+
"devDependencies": {
44+
"dtslint": "^4.0.0",
45+
"nyc": "^15.0.0",
46+
"prettier": "^2.0.0",
47+
"remark-cli": "^9.0.0",
48+
"remark-preset-wooorm": "^8.0.0",
49+
"tape": "^5.0.0",
50+
"unist-builder": "^2.0.0",
51+
"xo": "^0.35.0"
52+
},
53+
"scripts": {
54+
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
55+
"test-api": "node test",
56+
"test-coverage": "nyc --reporter lcov tape test.js",
57+
"test-types": "dtslint types",
58+
"test": "npm run format && npm run test-coverage && npm run test-types"
59+
},
60+
"nyc": {
61+
"check-coverage": true,
62+
"lines": 100,
63+
"functions": 100,
64+
"branches": 100
65+
},
66+
"prettier": {
67+
"tabWidth": 2,
68+
"useTabs": false,
69+
"singleQuote": true,
70+
"bracketSpacing": false,
71+
"semi": false,
72+
"trailingComma": "none"
73+
},
74+
"xo": {
75+
"prettier": true,
76+
"esnext": false,
77+
"rules": {
78+
"eqeqeq": [
79+
"error",
80+
"always",
81+
{
82+
"null": "ignore"
8783
}
88-
},
89-
"remarkConfig": {
90-
"plugins": [
91-
"preset-wooorm"
92-
]
84+
],
85+
"no-eq-null": "off",
86+
"unicorn/explicit-length-check": "off"
9387
}
94-
}
88+
},
89+
"remarkConfig": {
90+
"plugins": [
91+
"preset-wooorm"
92+
]
93+
}
94+
}

types/tsconfig.json

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
11
{
2-
"compilerOptions": {
3-
"target": "es2017",
4-
"lib": ["es6"],
5-
"module": "commonjs",
6-
"moduleResolution": "node",
7-
"resolveJsonModule": true,
8-
"esModuleInterop": false,
9-
"strict": true,
10-
"strictPropertyInitialization": false,
11-
"experimentalDecorators": true,
12-
"emitDecoratorMetadata": true,
13-
"sourceMap": true,
14-
"skipLibCheck": true
15-
},
16-
"include": [
17-
"./**/*.ts",
18-
"./node_modules/@types"
19-
],
20-
"exclude": [
21-
"node_modules",
22-
"coverage"
23-
]
2+
"compilerOptions": {
3+
"module": "es2015",
4+
"lib": ["es2015"],
5+
"moduleResolution": "node",
6+
"strict": true,
7+
"noEmit": true,
8+
"baseUrl": ".",
9+
"paths": {
10+
"uninst-util-remove": ["."]
11+
}
2412
}
25-
13+
}
14+

types/tslint.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "dtslint/dtslint.json",
3-
"rules": {
4-
"no-redundant-jsdoc": false,
5-
"no-redundant-jsdoc-2": true,
6-
"semicolon": false,
7-
"whitespace": false
8-
}
9-
}
2+
"extends": "dtslint/dtslint.json",
3+
"rules": {
4+
"no-redundant-jsdoc": false,
5+
"no-redundant-jsdoc-2": true,
6+
"semicolon": false,
7+
"whitespace": false
8+
}
9+
}

0 commit comments

Comments
 (0)