Skip to content

Commit e37aaa2

Browse files
bhovhannescitizensas
authored andcommitted
chore: prettier and linter fixes
1 parent bb348f2 commit e37aaa2

8 files changed

Lines changed: 1078 additions & 968 deletions

File tree

CHANGELOG.md

Lines changed: 457 additions & 458 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,33 @@
77

88
A client for Workfront API which can be used in both server (NodeJS) and client (browsers).
99

10-
If used in browser environment you may need to polyfill Promises (see ES6 Promise for polyfills) and fetch ([whatwg-fetch](https://github.com/fis-components/whatwg-fetch)).
10+
If used in browser environment you may need to polyfill Promises (see ES6 Promise for polyfills) and fetch ([whatwg-fetch](https://github.com/fis-components/whatwg-fetch)).
1111

1212
## Usage
1313

1414
#### Server-side
1515

1616
Install as a dependency:
17-
18-
npm install --save workfront-api
19-
17+
npm install --save workfront-api
2018
Then `require('workfront-api')` in your code. For example:
19+
2120
```javascript
2221
var Workfront = require('workfront-api'),
23-
util = require('util');
22+
util = require('util')
2423

2524
/**
2625
* The console.log statement below will output the following:
27-
* {
26+
* {
2827
* Api: [Function: Api]
2928
* }
3029
*/
31-
console.log(util.inspect(Workfront, {depth:0}));
30+
console.log(util.inspect(Workfront, {depth: 0}))
3231
```
3332

3433
## Documentation
3534

3635
API documentation is available at [http://workfront.github.io/workfront-api/](http://workfront.github.io/workfront-api/).
3736

38-
3937
## Examples
4038

4139
A number of examples can be found under [examples](examples) directory. It includes examples for both [node](examples/node) and [browser](examples/browser) environments.
@@ -64,24 +62,24 @@ To start supplied webserver type:
6462

6563
Visit [http://localhost:8000/examples/browser/](http://localhost:8000/examples/browser/) to see list of all examples available for browser.
6664

67-
6865
## Contributing
6966

7067
We welcome contributions of all kinds from anyone. It can be either new example or fix or documentation improvement. Please read these guidelines:
7168

7269
### Bug Reports
70+
7371
A bug is a _demonstrable problem_ that is caused by the code in the repository. Good bug reports are extremely helpful - thank you! Please make sure to check these points to make a good bug report:
7472

75-
1. **Use the GitHub issue search** — check if the issue has already been
76-
reported.
77-
2. **Isolate the problem** — ideally create a [reduced test
78-
case](https://css-tricks.com/reduced-test-cases/).
79-
3. A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report.
73+
1. **Use the GitHub issue search** — check if the issue has already been
74+
reported.
75+
2. **Isolate the problem** — ideally create a [reduced test
76+
case](https://css-tricks.com/reduced-test-cases/).
77+
3. A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report.
8078

8179
### Feature requests
8280

8381
Feature requests are welcome. But take a moment to find out whether your idea
84-
fits with the scope and aims of the project. It's up to *you* to make a strong
82+
fits with the scope and aims of the project. It's up to _you_ to make a strong
8583
case to convince the project's developers of the merits of this feature. Please
8684
provide as much detail and context as possible.
8785

@@ -93,23 +91,17 @@ Licensed under the Apache License, Version 2.0.
9391
See the top-level file `LICENSE` and
9492
(http://www.apache.org/licenses/LICENSE-2.0).
9593

96-
9794
[license-image]: http://img.shields.io/badge/license-APv2-blue.svg?style=flat
9895
[license-url]: LICENSE
99-
10096
[npm-url]: https://www.npmjs.org/package/workfront-api
10197
[npm-version-image]: https://img.shields.io/npm/v/workfront-api.svg?style=flat
10298
[npm-downloads-image]: https://img.shields.io/npm/dm/workfront-api.svg?style=flat
103-
10499
[travis-url]: https://travis-ci.org/Workfront/workfront-api
105100
[travis-image]: https://img.shields.io/travis/Workfront/workfront-api.svg?style=flat
106-
107101
[codecov-url]: https://codecov.io/gh/Workfront/workfront-api
108102
[codecov-image]: https://codecov.io/gh/Workfront/workfront-api/branch/master/graph/badge.svg
109-
110103
[code-climate-url]: https://codeclimate.com/github/Workfront/workfront-api
111104
[code-climate-image]: https://img.shields.io/codeclimate/github/Workfront/workfront-api.svg?style=flat
112-
113105
[saucelabs-badge]: https://saucelabs.com/buildstatus/citizensas
114106
[saucelabs-url]: https://saucelabs.com/beta/builds/1b8be6f71455499c82f02afc881e6c14
115-
[saucelabs-matrix]: https://saucelabs.com/browser-matrix/citizensas.svg
107+
[saucelabs-matrix]: https://saucelabs.com/browser-matrix/citizensas.svg

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"ts-loader": "4.3.1",
5050
"tslib": "1.9.2",
5151
"tslint": "5.10.0",
52+
"tslint-config-prettier": "1.13.0",
5253
"tslint-loader": "3.6.0",
5354
"typedoc": "0.11.1",
5455
"typescript": "2.9.1",

0 commit comments

Comments
 (0)