mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
cec46f985a
Sorts keys (non-recursively) in translations/en.json. The solution uses the prettier plugin https://github.com/Gudahtt/prettier-plugin-sort-json. We only format translations/en.json because it’s the only file we need to manually change. - Dependency added: prettier-plugin-sort-json version 4.0.0 - Dependency upgraded: prettier, from version 2.8.8 to 3.3.3.
14 lines
277 B
JavaScript
14 lines
277 B
JavaScript
module.exports = {
|
|
arrowParens: 'always',
|
|
printWidth: 120,
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'all',
|
|
useTabs: false,
|
|
|
|
// JSON sorting
|
|
jsonSortOrder: '{ "/.*/": "caseInsensitiveLexical" } ',
|
|
plugins: ['prettier-plugin-sort-json'],
|
|
};
|