mirror of
https://github.com/google/blockly.git
synced 2025-12-13 04:40:09 +01:00
* chore(deps): Add pretter-plugin-organize-imports * chore: Remove insignificant blank lines in import sections Since prettier-plugin-organize-imports sorts imports within sections separated by blank lines, but preserves the section divisions, remove any blank lines that are not dividing imports into meaningful sections. Do not remove blank lines separating side-effect-only imports from main imports. * chore: Remove unneded eslint-disable directives * chore: Organise imports
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'],
|
|
};
|