update packagejson installer for fluent
This commit is contained in:
Родитель
46f205cadc
Коммит
b33539485e
|
@ -79,6 +79,15 @@ We track commits that are largely style/formatting via `.git-blame-ignore-revs`.
|
|||
cp .env-dist .env
|
||||
```
|
||||
|
||||
4. Install fluent linter
|
||||
```sh
|
||||
pip install -r .github/requirements.txt
|
||||
|
||||
OR
|
||||
|
||||
pip3 install -r .github/requirements.txt
|
||||
```
|
||||
|
||||
### Run
|
||||
|
||||
1. Run the server:
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
"lint": "npm run lint:css && npm run lint:js",
|
||||
"lint:js": "eslint .",
|
||||
"lint:css": "stylelint public/css/",
|
||||
"lint:fluent": "pip3 install -r .github/requirements.txt && moz-fluent-lint ./locales/en --config .github/linter_config.yml",
|
||||
"lint:fluent": "moz-fluent-lint ./locales/en --config .github/linter_config.yml",
|
||||
"fix": "npm run fix:css && npm run fix:js",
|
||||
"fix:js": "eslint . --fix",
|
||||
"fix:css": "stylelint public/css/ --fix",
|
||||
|
|
Загрузка…
Ссылка в новой задаче