Skip to content

Commit d6abc49

Browse files
authored
Merge pull request #33 from heldinz/update-markdown
Update markdown
2 parents d20a690 + 90bdb46 commit d6abc49

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

LICENSE.md

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

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# [gulp](http://gulpjs.com)-convert-encoding
22

3-
![Build Status](https://github.com/heldinz/gulp-convert-encoding/actions/workflows/main.yml/badge.svg)
4-
[![Coverage Status](https://coveralls.io/repos/heldinz/gulp-convert-encoding/badge.svg?branch=main)](https://coveralls.io/r/heldinz/gulp-convert-encoding?branch=main)
5-
[![NPM Downloads](https://img.shields.io/npm/dm/gulp-convert-encoding.svg)](https://www.npmjs.com/package/gulp-convert-encoding)
3+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] ![Build Status][ci-image] [![Coveralls Status][coveralls-image]][coveralls-url]
64

75
> Convert file encodings using [iconv-lite](https://github.com/ashtuchkin/iconv-lite).
86
@@ -57,6 +55,13 @@ Default: `{ decode: {}, encode: {} }`
5755

5856
Allows you to pass additional options into `iconv-lite`, for example [BOM Handling](https://github.com/ashtuchkin/iconv-lite#bom-handling).
5957

60-
## License
58+
<!-- prettier-ignore-start -->
59+
[npm-url]: https://www.npmjs.com/package/gulp-convert-encoding
60+
[npm-image]: https://img.shields.io/npm/v/gulp-convert-encoding.svg?style=flat-square
61+
[downloads-image]: https://img.shields.io/npm/dm/gulp-convert-encoding.svg?style=flat-square
6162

62-
MIT © [Alice Rose](https://github.com/heldinz)
63+
[ci-image]: https://img.shields.io/github/actions/workflow/status/heldinz/gulp-convert-encoding/main.yml?branch=main&style=flat-square
64+
65+
[coveralls-url]: https://coveralls.io/r/heldinz/gulp-convert-encoding?branch=main
66+
[coveralls-image]: https://img.shields.io/coverallsCoverage/github/heldinz/gulp-convert-encoding?branch=main&style=flat-square
67+
<!-- prettier-ignore-end -->

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@
1616
"coverage:html": "nyc --reporter=html npm test",
1717
"coverage:lcov": "nyc --reporter=lcovonly npm test",
1818
"format": "npm run prettier -- --write",
19-
"lint": "echo 'TODO: linting'",
19+
"lint": "echo 'TODO: lint JS'",
2020
"prettier": "prettier .*rc *.{js,json,md}",
2121
"test": "mocha -R spec",
2222
"test:watch": "npm test -- --watch",
2323
"validate": "npm run lint && npm run prettier -- --list-different",
2424
"prepare": "husky"
2525
},
2626
"lint-staged": {
27-
"'.*rc', '*.{js,json,md}'": "prettier --write",
27+
"*.{js,json,md}": "npm run format",
28+
".*rc": "npm run format",
2829
"*.js": "npm run lint"
2930
},
3031
"files": ["index.js"],

0 commit comments

Comments
 (0)