Skip to content

feat: update lerna, eslint and some format changes #1377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
{
"extends": ["airbnb-base", "plugin:jest/recommended", "prettier"],
"plugins": ["import", "jest", "prettier"],
"extends": [
"airbnb-base",
"plugin:jest/recommended",
"prettier"
],
"plugins": [
"import",
"jest",
"prettier"
],
"rules": {
"no-param-reassign": 0,
"class-methods-use-this": 0,
"no-misleading-character-class": 0,
"prettier/prettier": [
"error",
{
"printWidth": 80,
"singleQuote": true,
"arrowParens": "always",
"trailingComma": "es5"
}
],
"no-restricted-syntax": 0,
"no-await-in-loop": "off"
"no-await-in-loop": "off",
"default-param-last": "off"
},
"overrides": [
{
"files": ["examples/**/*.js"],
"files": [
"examples/**/*.js"
],
"rules": {
"no-console": "off"
}
Expand All @@ -27,4 +40,4 @@
"node": true,
"jest/globals": true
}
}
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to release of this project will be documented in this file.

For detailed change-info on the commit level please [see our GitHub commit history](https://github.com/axa-group/nlp.js/commits/master).

## [5.0.0]

### Changed
- Updated lerna. Remove bootstrap in favour of npm workspaces.


## [3.10.0] - 2019-10-07
### Added
- Traverse for handlebars, so answers now can be arrays or objects
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ This project is developed by AXA Group Operations Spain S.A.

If you need to contact us, you can do it at the email [email protected]


## License

Copyright (c) AXA Group Operations Spain S.A.
Expand All @@ -348,3 +349,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

7 changes: 3 additions & 4 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"packages": [
"packages/*"
],
"version": "4.27.0"
"packages": ["packages/*"],
"version": "5.0.0-alpha.5",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
Loading
Loading