mirror of
https://github.com/google/blockly.git
synced 2026-06-16 08:05:13 +02:00
6bdfac5493
* chore(monorepo): move all blockly files to packages/blockly * chore(monorepo): add root package.json and update gitignores * chore(monorepo): update scripts and github workflows * chore(monorepo): only try the native release for closure compiler chore: add debug info to build script chore: update google-closure-compiler chore: remove debug info
16 lines
564 B
JavaScript
16 lines
564 B
JavaScript
// This config attempts to match google-style code.
|
|
|
|
module.exports = {
|
|
// Prefer single quotes, but minimize escaping.
|
|
singleQuote: true,
|
|
// Some properties must be quoted to preserve closure compiler behavior.
|
|
// Don't ever change whether properties are quoted.
|
|
quoteProps: 'preserve',
|
|
// Don't add spaces around braces for object literals.
|
|
bracketSpacing: false,
|
|
// Put HTML tag closing brackets on same line as last attribute.
|
|
bracketSameLine: true,
|
|
// Organise imports using a plugin.
|
|
'plugins': ['prettier-plugin-organize-imports'],
|
|
};
|