Skip to content

Commit c62395e

Browse files
author
Ivan Demidov
committed
style(*): fix clinton report recommendation
1 parent 3631eb8 commit c62395e

File tree

3 files changed

+68
-18
lines changed

3 files changed

+68
-18
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Ivan Demidov <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

+25-16
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,22 @@
22
"name": "posthtml-cli",
33
"version": "0.2.4",
44
"description": "CLI for posthtml",
5+
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/posthtml/posthtml-cli.git"
9+
},
10+
"homepage": "https://github.com/posthtml/posthtml-cli#readme",
11+
"bugs": {
12+
"url": "https://github.com/posthtml/posthtml-cli/issues"
13+
},
14+
"author": {
15+
"name": "GitScrum",
16+
"email": "[email protected]"
17+
},
518
"bin": {
6-
"posthtml": "./cli.js"
19+
"posthtml": "cli.js"
720
},
8-
"files": [
9-
"cli.js"
10-
],
1121
"engines": {
1222
"node": ">=4"
1323
},
@@ -20,6 +30,9 @@
2030
"testen": "testen -n -- ava",
2131
"update": "updtr && ava-codemods --force"
2232
},
33+
"files": [
34+
"cli.js"
35+
],
2336
"repository": {
2437
"type": "git",
2538
"url": "git+https://github.com/posthtml/posthtml-cli.git"
@@ -29,23 +42,14 @@
2942
"posthtml-runner",
3043
"cli"
3144
],
32-
"author": {
33-
"name": "GitScrum",
34-
"email": "[email protected]"
35-
},
36-
"license": "MIT",
37-
"bugs": {
38-
"url": "https://github.com/posthtml/posthtml-cli/issues"
39-
},
40-
"homepage": "https://github.com/posthtml/posthtml-cli#readme",
4145
"dependencies": {
4246
"globby": "^6.0.0",
4347
"posthtml": "^0.9.0",
4448
"posthtml-load-plugins": "^0.11.2",
4549
"yargs": "^4.7.1"
4650
},
4751
"devDependencies": {
48-
"ava": "^0.15.1",
52+
"ava": "*",
4953
"ava-codemods": "^0.2.1",
5054
"babel-eslint": "^6.1.2",
5155
"clinton": "^0.6.0",
@@ -93,7 +97,7 @@
9397
"markdown"
9498
],
9599
"extends": [
96-
"xo",
100+
"xo/esnext",
97101
"plugin:xo/recommended",
98102
"plugin:ava/recommended"
99103
]
@@ -104,6 +108,11 @@
104108
"tmp/**",
105109
"lib/**",
106110
"*.{html,jpg}"
107-
]
111+
],
112+
"rules": {
113+
"xo": [
114+
"off"
115+
]
116+
}
108117
}
109118
}

readme.md

+22-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,28 @@ $ posthtml -i input.html -r
161161
$ posthtml -i inputFolder/*.html -r
162162
```
163163

164-
## License
165-
MIT
164+
## LICENSE
165+
166+
> MIT License (MIT)
167+
168+
>Copyright (c) Ivan Demidov <[email protected]>
169+
170+
> Permission is hereby granted, free of charge, to any person obtaining a copy
171+
of this software and associated documentation files (the "Software"), to deal
172+
in the Software without restriction, including without limitation the rights
173+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
174+
copies of the Software, and to permit persons to whom the Software is
175+
furnished to do so, subject to the following conditions:
176+
177+
> The above copyright notice and this permission notice shall be included in all
178+
copies or substantial portions of the Software.
179+
180+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
181+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
182+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
183+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
184+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
185+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
166186

167187
[posthtml-url]: http://github.com/posthtml/posthtml
168188

0 commit comments

Comments
 (0)