зеркало из https://github.com/microsoft/satcheljs.git
Update to latest version of prettier (#134)
This commit is contained in:
Родитель
a4ab6b2f07
Коммит
88439deadb
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"printWidth": 100,
|
||||
"tabWidth": 4,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"jsxBracketSameLine": true
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Store implementation for functional reactive flux.",
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"prettier --tab-width 4 --print-width 100 --write --trailing-comma es5 --jsx-bracket-same-line --single-quote",
|
||||
"prettier --write",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
@ -34,7 +34,7 @@
|
|||
"mobx": "^4.4.0",
|
||||
"mobx-react": "^5.2.0",
|
||||
"npm-run-all": "^4.0.2",
|
||||
"prettier": "~1.5.2",
|
||||
"prettier": "^1.19.1",
|
||||
"react": "15.4.2",
|
||||
"react-addons-test-utils": "~15.4.0",
|
||||
"react-dom": "15.4.2",
|
||||
|
@ -57,4 +57,4 @@
|
|||
"registry": "https://registry.npmjs.org"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,4 +8,4 @@ import { getGlobalContext } from './globalContext';
|
|||
*/
|
||||
export default function getRootStore() {
|
||||
return getGlobalContext().rootStore;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3262,9 +3262,10 @@ prelude-ls@~1.1.2:
|
|||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
|
||||
|
||||
prettier@~1.5.2:
|
||||
version "1.5.3"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.5.3.tgz#59dadc683345ec6b88f88b94ed4ae7e1da394bfe"
|
||||
prettier@^1.19.1:
|
||||
version "1.19.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
|
||||
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
|
||||
|
||||
pretty-format@^24.5.0:
|
||||
version "24.5.0"
|
||||
|
|
Загрузка…
Ссылка в новой задаче