Skip to content

Commit

Permalink
Use prettier for code formatting
Browse files Browse the repository at this point in the history
PR-URL: #31
  • Loading branch information
JuliaGerasymenko authored and belochub committed Jan 30, 2019
1 parent 7742672 commit 9511957
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": ".prettierrc",
"options": { "parser": "json" }
}
]
}
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Metarhia

Experimental technological stack, including:
- Application Server [Impress](https://github.com/metarhia/Impress)
- Client Run-time [Console](https://github.com/metarhia/Console)
- JavaScript Transfer Protocol [JSTP](https://github.com/metarhia/JSTP)
- Database Management System [GlobalStorage](https://github.com/metarhia/GlobalStorage)

- Application Server [Impress](https://github.com/metarhia/Impress)
- Client Run-time [Console](https://github.com/metarhia/Console)
- JavaScript Transfer Protocol [JSTP](https://github.com/metarhia/JSTP)
- Database Management System [GlobalStorage](https://github.com/metarhia/GlobalStorage)
9 changes: 5 additions & 4 deletions README.ru.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Metarhia

Это стек технологий, включающий:
- Сервер приложений [Impress](https://github.com/metarhia/Impress)
- Браузер приложений и баз данных [Console](https://github.com/metarhia/Console)
- Многоцелевой протокол [JSTP](https://github.com/metarhia/JSTP)
- Распределенная СУБД [GlobalStorage](https://github.com/metarhia/GlobalStorage)

- Сервер приложений [Impress](https://github.com/metarhia/Impress)
- Браузер приложений и баз данных [Console](https://github.com/metarhia/Console)
- Многоцелевой протокол [JSTP](https://github.com/metarhia/JSTP)
- Распределенная СУБД [GlobalStorage](https://github.com/metarhia/GlobalStorage)
8 changes: 4 additions & 4 deletions doc/maintainers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Metarhia packages/repositories maintainers

| Repository | NPM package | Maintainer |
| ---------- | ----------- | ---------- |
| ------------------------------------------ | --------------------------------- | ---------------- |
| [`metarhia/Metarhia`][] | [`metarhia`][] | [tshemsedinov][] |
| [`metarhia/common`][] | [`@metarhia/common`][] | [belochub][] |
| [`metarhia/concolor`][] | [`concolor`][] | [tshemsedinov][] |
Expand All @@ -27,7 +27,7 @@
| [`metarhia/tickplate`][] | [`tickplate`][] | [tshemsedinov][] |
| [`metarhia/tools`][] | [`@metarhia/tools`][] | [belochub][] |

[`metarhia/Metarhia`]: https://github.com/metarhia/Metarhia
[`metarhia/metarhia`]: https://github.com/metarhia/Metarhia
[`metarhia/common`]: https://github.com/metarhia/common
[`metarhia/concolor`]: https://github.com/metarhia/concolor
[`metarhia/do`]: https://github.com/metarhia/do
Expand All @@ -51,7 +51,7 @@
[`metarhia/sandboxed-fs`]: https://github.com/metarhia/sandboxed-fs
[`metarhia/tickplate`]: https://github.com/metarhia/tickplate
[`metarhia/tools`]: https://github.com/metarhia/tools

[//]: # 'links to npm packages:'
[`metarhia`]: https://npmjs.com/metarhia
[`@metarhia/common`]: https://npmjs.com/@metarhia/common
[`concolor`]: https://npmjs.com/concolor
Expand All @@ -76,7 +76,7 @@
[`sandboxed-fs`]: https://npmjs.com/sandboxed-fs
[`tickplate`]: https://npmjs.com/tickplate
[`@metarhia/tools`]: https://www.npmjs.com/@metarhia/tools

[//]: # "links to maintainers' GitHub profiles:"
[belochub]: https://github.com/belochub
[lundibundi]: https://github.com/lundibundi
[nechaido]: https://github.com/nechaido
Expand Down
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@
"email": "[email protected]"
},
"main": "./metarhia.js",
"dependencies": {
"scripts": {
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\""
},
"dependencies": {},
"engines": {
"node": ">=0.4.0"
},
"readmeFilename": "README.md"
}
"readmeFilename": "README.md",
"devDependencies": {
"prettier": "1.16.x"
}
}

0 comments on commit 9511957

Please sign in to comment.