Merge branch 'main' of https://github.com/cockpit-project/starter-kit
This commit is contained in:
commit
a55c3d5b6f
11 changed files with 23 additions and 36 deletions
10
README.md
10
README.md
|
|
@ -108,7 +108,7 @@ remove manually the symlink:
|
|||
Cockpit Starter Kit uses [ESLint](https://eslint.org/) to automatically check
|
||||
JavaScript code style in `.js` and `.jsx` files.
|
||||
|
||||
eslint is executed within every build.
|
||||
eslint is executed as part of `test/static-code`, aka. `make codecheck`.
|
||||
|
||||
For developer convenience, the ESLint can be started explicitly by:
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ Rules configuration can be found in the `.eslintrc.json` file.
|
|||
Cockpit uses [Stylelint](https://stylelint.io/) to automatically check CSS code
|
||||
style in `.css` and `scss` files.
|
||||
|
||||
styleint is executed within every build.
|
||||
styleint is executed as part of `test/static-code`, aka. `make codecheck`.
|
||||
|
||||
For developer convenience, the Stylelint can be started explicitly by:
|
||||
|
||||
|
|
@ -137,12 +137,6 @@ Violations of some rules can be fixed automatically by:
|
|||
|
||||
Rules configuration can be found in the `.stylelintrc.json` file.
|
||||
|
||||
During fast iterative development, you can also choose to not run eslint/stylelint.
|
||||
This speeds up the build and avoids build failures due to e. g. ill-formatted
|
||||
css or other issues:
|
||||
|
||||
$ ./build.js -es
|
||||
|
||||
# Running tests locally
|
||||
|
||||
Run `make check` to build an RPM, install it into a standard Cockpit test VM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue