@krusemedien/codestyle
Codestyle initialization tool
Last updated a year ago by jschuering .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @krusemedien/codestyle 
SYNC missed versions from official npm registry.

KruseMedien code style

Install

First create a package.json if not exists:

{
    "private": true
}

Now run the following command:

npm install @krusemedien/codestyle --dev

Initialisation

To initialize the project simple run the following command:

./node_modules/.bin/codestyle init

After initialising the project run:

composer install

Code style check

To check the codestyle run the desired npm script:

npm run lint

To run codesniffer and to display the codesniffer rule names add the -s argument:

npm run lint:php . -- -s

Help

If you want to set custom codesniffer or eslint rules, you may find more helpful examples:

Code style fix

To fix the codestyle run the desired npm script:

npm run fix

Current Tags

  • 1.0.9                                ...           latest (a year ago)

11 Versions

  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-dev                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (14)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |