Skip to content

Commit

Permalink
Merge pull request #205 from shimataro/develop
Browse files Browse the repository at this point in the history
version 0.15.0
  • Loading branch information
shimataro authored Aug 18, 2018
2 parents b28b98d + 7b29e5a commit b1292ed
Show file tree
Hide file tree
Showing 63 changed files with 3,214 additions and 3,093 deletions.
31 changes: 22 additions & 9 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ env: # https://eslint.org/docs/user-guide/configuring#specifying-environments
es6: true
node: true
jest: true
extends: 'eslint:recommended'
parser: "babel-eslint"
extends: eslint:recommended
plugins:
- import
parser: babel-eslint
parserOptions:
sourceType: module
rules: # https://eslint.org/docs/rules/
Expand All @@ -29,8 +31,10 @@ rules: # https://eslint.org/docs/rules/
- allman
callback-return: error
capitalized-comments: 'off'
class-methods-use-this: 'off'
comma-dangle: 'off'
class-methods-use-this: error
comma-dangle:
- error
- always-multiline
comma-spacing:
- error
- after: true
Expand All @@ -45,7 +49,7 @@ rules: # https://eslint.org/docs/rules/
consistent-return: 'off'
consistent-this: error
curly: error
default-case: "off"
default-case: 'off'
dot-location:
- error
- property
Expand All @@ -57,7 +61,9 @@ rules: # https://eslint.org/docs/rules/
for-direction: error
func-call-spacing: error
func-name-matching: error
func-names: "off"
func-names:
- error
- never
func-style:
- error
- declaration
Expand All @@ -73,7 +79,9 @@ rules: # https://eslint.org/docs/rules/
implicit-arrow-linebreak:
- error
- below
indent: 'off'
indent:
- error
- tab
indent-legacy: 'off'
init-declarations: error
jsx-quotes: error
Expand Down Expand Up @@ -114,7 +122,7 @@ rules: # https://eslint.org/docs/rules/
no-continue: 'off'
no-div-regex: error
no-duplicate-imports: error
no-else-return: error
no-else-return: 'off'
no-empty-function: 'off'
no-eq-null: error
no-eval: error
Expand Down Expand Up @@ -197,7 +205,7 @@ rules: # https://eslint.org/docs/rules/
no-whitespace-before-property: error
no-with: error
nonblock-statement-body-position: error
object-curly-newline: "off"
object-curly-newline: 'off'
object-curly-spacing:
- error
- never
Expand Down Expand Up @@ -262,3 +270,8 @@ rules: # https://eslint.org/docs/rules/
yoda:
- error
- never
import/extensions:
- error
- never
import/no-unresolved:
- error
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,29 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.15.0] - 2018-08-18
### Added
* `adjuster.boolean()`
* `adjuster.number().strict()`
* `adjuster.string().strict()`
* `adjuster.array()`
* `adjuster.object()`
* `err.keyStack` indicates path to key that caused error; for nested object or array

### Changed
* cause an error `adjuster.CAUSE.TYPE` instead of `adjuster.CAUSE.NOT_OBJECT`
* reject array and object in `adjuster.string()`
* in `numericString`, when `.joinArray()` is not called and an array is passed, cause an error `adjuster.CAUSE.TYPE` instead of `adjuster.CAUSE.PATTERN`
* rename `STRING_PATTERN` to `STRING.PATTERN`, `NUMERIC_STRING_CHECKSUM_ALGORITHM` to `NUMERIC_STRING.CHECKSUM_ALGORITHM`

### Fixed
* installation error!

### Deleted
* `adjuster.numberArray()` - use `adjuster.array()` instead
* `adjuster.stringArray()` - use `adjuster.array()` instead
* `err.key` - use `err.keyStack` instead

## [0.14.0] - 2018-08-11
### Added
* Introduction in `README.md`
Expand Down Expand Up @@ -151,7 +174,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [0.1.0] - 2018-04-18
* First release.

[Unreleased]: https://github.com/shimataro/node-adjuster/compare/v0.14.0...HEAD
[Unreleased]: https://github.com/shimataro/node-adjuster/compare/v0.15.0...HEAD
[0.15.0]: https://github.com/shimataro/node-adjuster/compare/v0.14.0...v0.15.0
[0.14.0]: https://github.com/shimataro/node-adjuster/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/shimataro/node-adjuster/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/shimataro/node-adjuster/compare/v0.11.0...v0.12.0
Expand Down
Loading

0 comments on commit b1292ed

Please sign in to comment.