1.0.9 • Published 6 years ago

@krusemedien/codestyle v1.0.9

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
6 years ago

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
1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-dev

6 years ago