refactor: eslint setup (#822)
authorエリス <erisu@users.noreply.github.com>
Fri, 15 Nov 2019 02:06:05 +0000 (11:06 +0900)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2019 02:06:05 +0000 (11:06 +0900)
commit5cc0a79b5897a62d25097233e9cbe89f41bb1264
treec433da4ca53723538b9c77434acb55fb3e0f4115
parent144314c568258539a787f0427bab943e52a45ad1
refactor: eslint setup (#822)

* refactor: eslint setup

* replace dependencies with @cordova/eslint-config
* update eslint config
* eslint corrections
* chore: readded linebreak-style & promise/catch-or-return
45 files changed:
.eslintrc.yml
integration-tests/.eslintrc.yml
integration-tests/HooksRunner.spec.js
integration-tests/fetch.spec.js
integration-tests/pkgJson.spec.js
integration-tests/platform.spec.js
integration-tests/plugman_fetch.spec.js
integration-tests/plugman_uninstall.spec.js
package.json
spec/.eslintrc.yml
spec/cordova/build.spec.js
spec/cordova/emulate.spec.js
spec/cordova/platform/addHelper.spec.js
spec/cordova/platform/remove.spec.js
spec/cordova/plugin/add.getFetchVersion.spec.js
spec/cordova/plugin/add.spec.js
spec/cordova/plugin/index.spec.js
spec/cordova/plugin/list.spec.js
spec/cordova/plugin/remove.spec.js
spec/cordova/prepare.spec.js
spec/cordova/restore-util.spec.js
spec/cordova/run.spec.js
spec/cordova/serve.spec.js
spec/cordova/util.spec.js
spec/helpers.js
spec/hooks/Context.spec.js
spec/plugman/add_platform.spec.js
spec/plugman/create.spec.js
spec/plugman/install.spec.js
spec/plugman/util/dependencies.spec.js
spec/plugman/util/metadata.spec.js
spec/project-test-helpers.js
src/cordova/emulate.js
src/cordova/plugin/add.js
src/cordova/restore-util.js
src/cordova/run.js
src/cordova/serve.js
src/cordova/targets.js
src/plugman/create.js
src/plugman/fetch.js
src/plugman/install.js
src/plugman/platform.js
src/plugman/platform_operation.js
src/plugman/uninstall.js
src/plugman/util/default-engines.js