acdlite/recompose

View on GitHub
Add examples for renameProp and renameProps (#765) #298
Rodolfo Silva authored 3db12ce7
complete00:00:27
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-eslint:b1476
b1476: Pulling from codeclimate/codeclimate-eslint
a2abf6c4d29d: Pulling fs layer
716b0e096692: Pulling fs layer
d65f0cc0c2e2: Pulling fs layer
c7fbf3401fad: Pulling fs layer
811ff2aaa8ce: Pulling fs layer
6961ed5764f3: Pulling fs layer
77321725071c: Pulling fs layer
e5ddd6d9acb6: Pulling fs layer
176840c42401: Pulling fs layer
414f407f492d: Pulling fs layer
7023f3ea382b: Pulling fs layer
af2390cc3e5d: Pulling fs layer
8bc34c14ff5d: Pulling fs layer
811ff2aaa8ce: Waiting
50a05621282c: Pulling fs layer
543da683a9cb: Pulling fs layer
6961ed5764f3: Waiting
77321725071c: Waiting
7023f3ea382b: Waiting
e5ddd6d9acb6: Waiting
af2390cc3e5d: Waiting
176840c42401: Waiting
8bc34c14ff5d: Waiting
414f407f492d: Waiting
50a05621282c: Waiting
543da683a9cb: Waiting
c7fbf3401fad: Waiting
716b0e096692: Verifying Checksum
716b0e096692: Download complete
a2abf6c4d29d: Verifying Checksum
a2abf6c4d29d: Download complete
c7fbf3401fad: Verifying Checksum
c7fbf3401fad: Download complete
811ff2aaa8ce: Download complete
6961ed5764f3: Verifying Checksum
6961ed5764f3: Download complete
d65f0cc0c2e2: Verifying Checksum
e5ddd6d9acb6: Verifying Checksum
e5ddd6d9acb6: Download complete
176840c42401: Verifying Checksum
176840c42401: Download complete
77321725071c: Verifying Checksum
77321725071c: Download complete
414f407f492d: Verifying Checksum
414f407f492d: Download complete
7023f3ea382b: Download complete
a2abf6c4d29d: Pull complete
716b0e096692: Pull complete
8bc34c14ff5d: Verifying Checksum
8bc34c14ff5d: Download complete
50a05621282c: Verifying Checksum
50a05621282c: Download complete
543da683a9cb: Verifying Checksum
543da683a9cb: Download complete
af2390cc3e5d: Verifying Checksum
af2390cc3e5d: Download complete
d65f0cc0c2e2: Pull complete
c7fbf3401fad: Pull complete
811ff2aaa8ce: Pull complete
6961ed5764f3: Pull complete
77321725071c: Pull complete
e5ddd6d9acb6: Pull complete
176840c42401: Pull complete
414f407f492d: Pull complete
7023f3ea382b: Pull complete
af2390cc3e5d: Pull complete
8bc34c14ff5d: Pull complete
50a05621282c: Pull complete
543da683a9cb: Pull complete
Digest: sha256:1927fd540edeebf51540dffc05058271fdf3caec4291ef07f3c1dd0947431add
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-eslint:b1476
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
7
eslint
eslint engine documentation
View output
ESLint is running with the /usr/local/node_modules/babel-eslint/index.js parser.
.eslintrc appears to be incompatible with ESLint 3.
We've attempted to fix any compatibility issues.
Note: some of these warnings may originate in configurations you are extending.
If analysis succeeds, you have nothing to worry about.
To upgrade it do the following:

* Add .yml or .json to the config file name. Extension-less config file names are deprecated.
* Move ecmaFeatures section under parserOptions section
* Remove generator-star rule and add the following:

    "generator-star-spacing": [
        "off",
        {
            "after": false,
            "before": false
        }
    ]


* Remove no-arrow-condition rule and add the following:

    "no-confusing-arrow": "off",
    "no-constant-condition": [
        "off",
        {
            "checkLoops": false
        }
    ]


* Remove no-comma-dangle rule and add the following:

    "comma-dangle": [
        "off",
        "always-multiline"
    ]


* Remove no-reserved-keys rule and add the following:

    "quote-props": [
        "off",
        "as-needed",
        {
            "keywords": true
        }
    ]


* Remove no-space-before-semi rule and add the following:

    "semi-spacing": [
        "off",
        {
            "before": false
        }
    ]


* Remove no-wrap-func rule and add the following:

    "no-extra-parens": [
        "off",
        "functions"
    ]


* Remove space-after-function-name rule and add the following:

    "space-before-function-paren": [
        "off",
        [
        ]
    ]


* Remove space-after-keywords rule and add the following:

    "keyword-spacing": [
        "off",
        {
            "after": false
        }
    ]


* Remove space-before-function-parentheses rule and add the following:

    "space-before-function-paren": [
        "off",
        [
        ]
    ]


* Remove space-before-keywords rule and add the following:

    "keyword-spacing": [
        "off",
        {
            "before": false
        }
    ]


* Remove space-in-brackets rule and add the following:

    "array-bracket-spacing": [
        "off",
        [
        ]
    ],
    "object-curly-spacing": [
        "off",
        [
        ]
    ]


* Remove space-return-throw-case rule and add the following:

    "keyword-spacing": [
        "off",
        {
            "after": true
        }
    ]


* Remove space-unary-word-ops rule and add the following:

    "space-unary-ops": [
        "off",
        {
            "words": true
        }
    ]





Ignoring the following rules that rely on module resolution:

* import/no-named-as-default
* import/no-absolute-path
* import/no-duplicates
* import/no-named-as-default-member
● Validation Warning:

  Unknown option "filepath" with value "/code/scripts/getPackageNames.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/scripts/installNestedPackageDeps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/scripts/jest.setup.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/scripts/release.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/scripts/rollup.config.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose-relay/createContainer.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose-relay/index.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/setPropTypes.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/onlyUpdateForPropTypes.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/renameProp.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/rxjs4ObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withPropsOnChange.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/__tests__/utils.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/__tests__/fixtures/treeshake-entry.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/toRenderProps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/onlyUpdateForKeys.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/mapPropsStream.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/setStatic.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withState.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/pure.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withProps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/toClass.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/setDisplayName.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/compose.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withStateHandlers.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/getDisplayName.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/wrapDisplayName.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/renameProps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/utils/mapValues.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/utils/omit.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/utils/pick.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/createSink.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/getContext.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/componentFromProp.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/lifecycle.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withContext.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/fromRenderProps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/index.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/shallowEqual.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withHandlers.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/renderNothing.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/isClassComponent.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/mostObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/rxjsObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/baconObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/componentFromStream.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/flydObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/defaultProps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/flattenProp.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/createEventHandler.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/setObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/mapProps.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/nest.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/kefirObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/branch.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/hoistStatics.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/xstreamObservableConfig.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/withReducer.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/shouldUpdate.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/src/packages/recompose/renderComponent.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

  Unknown option "filepath" with value "/code/babel.config.js" was found.
  This is probably a typing mistake. Fixing it will remove this message.

(node:8) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
8
fixme
fixme engine documentation