Skip to content

Commit

Permalink
fix(pkg): use hela and eslint-config-standard-tunnckocore
Browse files Browse the repository at this point in the history
remove appveyor; regenerate readme; use nspId in readme template and add field to package.json
TAG: latest
  • Loading branch information
tunnckoCore committed Aug 10, 2017
1 parent 521ceb4 commit 9bce765
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 664 deletions.
146 changes: 2 additions & 144 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,147 +1,5 @@
{
"extends": [
"standard",
"standard-jsx",
"standard-react"
],
"env": {
"es6": true,
"node": true,
"browser": true
},
"plugins": [
"fp",
"jsdoc"
],
"rules": {
"jsdoc/check-param-names": "error",
"jsdoc/check-tag-names": "off",
"jsdoc/check-types": "error",
"jsdoc/newline-after-description": "error",
"jsdoc/require-description-complete-sentence": "off",
"jsdoc/require-example": "off",
"jsdoc/require-hyphen-before-param-description": "off",
"jsdoc/require-param": "error",
"jsdoc/require-param-description": "error",
"jsdoc/require-param-type": "error",
"jsdoc/require-returns-type": "off",
"react/jsx-closing-bracket-location": "warn",
"react/jsx-indent-props": "warn",
"react/jsx-indent": "warn",
"jsx-quotes": [
"error",
"prefer-double"
],
"import/order": "error",
"import/newline-after-import": "error",
"import/no-extraneous-dependencies": "error",
"import/no-unresolved": [
"error",
{
"commonjs": true
}
],
"fp/no-loops": "error",
"fp/no-arguments": "error",
"fp/no-mutating-assign": "off",
"no-var": "error",
"linebreak-style": [
"error",
"unix"
],
"generator-star-spacing": [
"error",
{
"before": true,
"after": true
}
],
"computed-property-spacing": [
"error",
"never"
],
"object-curly-spacing": [
"error",
"always"
],
"space-before-function-paren": [
"error",
"always"
],
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": true
}
],
"arrow-parens": [
"error",
"always"
],
"arrow-body-style": [
"error",
"as-needed",
{
"requireReturnForObjectLiteral": false
}
],
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"max-params": [
"error",
{
"max": 3
}
],
"max-statements": [
"error",
{
"max": 20
}
],
"max-statements-per-line": "error",
"max-nested-callbacks": [
"error",
{
"max": 5
}
],
"max-depth": [
"error",
{
"max": 5
}
],
"max-len": [
"error",
{
"ignoreTemplateLiterals": false,
"ignoreComments": true
}
],
"no-use-before-define": [
"warn",
{
"functions": false,
"classes": true,
"variables": true
}
],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "ignore"
}
]
}
"standard-tunnckocore"
]
}
8 changes: 2 additions & 6 deletions .verb.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
[![Code Climate][codeclimate-img]][codeclimate-url]
[![Code Style Standard][standard-img]][standard-url]
[![Linux Build][travis-img]][travis-url]
[![windows Build][appveyor-img]][appveyor-url]
[![Code Coverage][codecov-img]][codecov-url]
[![Dependencies Status][dependencies-img]][dependencies-url]
[![Renovate App Status][renovate-img]][renovate-url]
Expand Down Expand Up @@ -92,9 +91,6 @@ Project scaffolded using [charlike-cli][].
[travis-url]: https://travis-ci.org/{%= repository %}
[travis-img]: https://img.shields.io/travis/{%= repository %}/master.svg?label=linux

[appveyor-url]: https://ci.appveyor.com/project/{%= repository %}
[appveyor-img]: https://img.shields.io/appveyor/ci/{%= repository %}/master.svg?label=windows

[codecov-url]: https://codecov.io/gh/{%= repository %}
[codecov-img]: https://img.shields.io/codecov/c/github/{%= repository %}/master.svg

Expand All @@ -112,8 +108,8 @@ Project scaffolded using [charlike-cli][].
[prettier-url]: https://github.com/prettier/prettier
[prettier-img]: https://img.shields.io/badge/styled_with-prettier-f952a5.svg

[nodesecurity-url]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/344b8ad6-4e7d-4579-bb70-60fa09e49044
[nodesecurity-img]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/344b8ad6-4e7d-4579-bb70-60fa09e49044/badge
[nodesecurity-url]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/{%= nspId %}
[nodesecurity-img]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/{%= nspId %}/badge
<!-- the original color of nsp:
[nodesec-img]: https://img.shields.io/badge/nsp-no_known_vulns-35a9e0.svg -->

Expand Down
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ You might also be interested in [koa-better-router](https://github.com/tunnckoco
[![Code Climate][codeclimate-img]][codeclimate-url]
[![Code Style Standard][standard-img]][standard-url]
[![Linux Build][travis-img]][travis-url]
[![windows Build][appveyor-img]][appveyor-url]
[![Code Coverage][codecov-img]][codecov-url]
[![Dependencies Status][dependencies-img]][dependencies-url]
[![Renovate App Status][renovate-img]][renovate-url]
Expand Down Expand Up @@ -93,7 +92,7 @@ Copyright © 2016-2017, [Charlike Mike Reagent](https://i.am.charlike.online). R

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 08, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 10, 2017._
Project scaffolded using [charlike-cli][].

[always-done]: https://github.com/hybridables/always-done
Expand Down Expand Up @@ -151,9 +150,6 @@ Project scaffolded using [charlike-cli][].
[travis-url]: https://travis-ci.org/tunnckoCore/koa-better-serve
[travis-img]: https://img.shields.io/travis/tunnckoCore/koa-better-serve/master.svg?label=linux

[appveyor-url]: https://ci.appveyor.com/project/tunnckoCore/koa-better-serve
[appveyor-img]: https://img.shields.io/appveyor/ci/tunnckoCore/koa-better-serve/master.svg?label=windows

[codecov-url]: https://codecov.io/gh/tunnckoCore/koa-better-serve
[codecov-img]: https://img.shields.io/codecov/c/github/tunnckoCore/koa-better-serve/master.svg

Expand All @@ -171,8 +167,8 @@ Project scaffolded using [charlike-cli][].
[prettier-url]: https://github.com/prettier/prettier
[prettier-img]: https://img.shields.io/badge/styled_with-prettier-f952a5.svg

[nodesecurity-url]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/344b8ad6-4e7d-4579-bb70-60fa09e49044
[nodesecurity-img]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/344b8ad6-4e7d-4579-bb70-60fa09e49044/badge
[nodesecurity-url]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/1efca2b5-9131-4e4e-9081-b911c996598e
[nodesecurity-img]: https://nodesecurity.io/orgs/tunnckocore-dev/projects/1efca2b5-9131-4e4e-9081-b911c996598e/badge
<!-- the original color of nsp:
[nodesec-img]: https://img.shields.io/badge/nsp-no_known_vulns-35a9e0.svg -->

Expand Down
23 changes: 0 additions & 23 deletions appveyor.yml

This file was deleted.

Loading

0 comments on commit 9bce765

Please sign in to comment.