Skip to content
Snippets Groups Projects
Commit b94fe5c8 authored by Alvaro Cabrera Durán's avatar Alvaro Cabrera Durán
Browse files

Cleanup

parent 923c2d5a
Branches
Tags
No related merge requests found
root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
end_of_line = lf
AUTH_ID=x
AUTH_SECRET=x
{
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "module"
},
"rules" : {
"max-len": ["error", {
"code": 150
}],
"arrow-parens": ["error", "as-needed"],
"no-multi-assign": 0,
"strict": 0,
"no-console": 0,
"no-plusplus": 0,
"prefer-destructuring": 0,
"function-paren-newline": 0,
"global-require": 0,
"prefer-spread": 0,
"prefer-rest-params": 0,
"prefer-object-spread": 0,
"prefer-arrow-callback": 0,
"arrow-body-style": 0,
"no-restricted-globals": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"import/no-unresolved": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0
}
}
lib/** -diff
dist/** -diff binary
locale/* -diff
package-lock.json -diff
We welcome contributions to the project! :beer:
## Bug submission
If you are submitting a bug report, please include the following:
1. the JSON Schema content that fails: go to [the demo page](http://json-schema-faker.js.org/), paste the schema into the textarea on the left, click `Generate example`, and then copy the resulting URL from the browser address bar and paste it here. This will make it easier for us to reproduce and fix the bug. Thank you in advance! :beer: Otherwise please paste the schema inline in your bug report.
2. the result you got
3. the result you expected
## Issues & Pull-requests
* When submitting *bug reports*, *paste your schema example* whenever possible. This will save us from having to ask you for it later.
* When submitting *Pull Requests (PRs)*, you should request to merge your changes into our `develop` branch.
* Our approach to testing is described in [spec/README.md](/spec/README.md).
* PRs without specs will not be merged anytime soon!
## Releasing new versions
* Create a new entry in the [CHANGELOG](/CHANGELOG) file,
* Re-build and re-release the online demo, see [`website-jsf` gh-pages branch](https://github.com/json-schema-faker/website-jsf/tree/gh-pages).
## Development tasks
* `npm run dev` — Run the tests and watch (preferred during development)
* `npm run dev:lint` — Run eslint on all sources
* `npm run dev:unit` — Run `jasmine-node` on unit tests
* `npm run dev:schema` — Run `jasmine-node` on schema tests
* `npm run cover` — Run istanbul + jasmine-node
* `npm run cover:up` — Upload to coveralls (CI only)
* `npm run dist` — Prepare all assets with locales for CDN support
* `npm test` — Run all the tests
### Upcoming
* `npm run tsc` — Compile TypeScript to JavaScript (via commonJS)
custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8MXLRJ7QQXGYY&source=url
open_collective: json-schema-faker
github: pateketrueke
ko-fi: pateketrueke
If you are reporting a bug, please include the following:
1. the JSON Schema content that fails - preferably using http://json-schema-faker.js.org/ (paste the schema, click `Generate example` and then copy and paste the resulting URL from the browser address bar)
2. the result you got
3. the result you expected
# IDEs
.idea
.vscode
.tarima
*~
*.log
*.tgz
*.todo
.nyc_output
.DS_Store
/lib
/dist
/build
/package
/reports
/coverage
/generated
/nbproject
/node_modules
/locale
/bower_components
/build/index.json
### Vim ###
# swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-v][a-z]
[._]sw[a-p]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags
.*
*~
*.log
*.tgz
*.json
.DS_Store
build-dist.js
bower.json
tslint.json
/ts
/docs
/spec
/build
/package
/reports
/coverage
/generated
/node_modules
/logo
sudo: required
dist: trusty
language: node_js
branches:
except:
- gh-pages
node_js:
- 6
- 8
- 9
- 10
- 11
- 12
before_script:
- npm run build
script:
- npm run test:ci
after_success:
- npm run codecov
notifications:
email: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment