mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 13:43:03 -05:00
308fa93625
* Configure linters * Move to older eslint config, add stylelint, correct configuration for editorconfig * simplify packages * improve eslint config * Fix typescript * remove line * github workflow * package-lock.json * lint fix * make plugin compatible with Figma * Add stylelint to ci --------- Co-authored-by: Alex Sánchez <alejandro@runroom.com>
19 lines
441 B
JavaScript
19 lines
441 B
JavaScript
/** @type {import("prettier").Config} */
|
|
const config = {
|
|
arrowParens: 'avoid',
|
|
bracketSpacing: true,
|
|
printWidth: 100,
|
|
proseWrap: 'always',
|
|
quoteProps: 'consistent',
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'none',
|
|
useTabs: false,
|
|
plugins: ['@trivago/prettier-plugin-sort-imports'],
|
|
importOrder: ['^[./]'],
|
|
importOrderSeparation: true,
|
|
importOrderSortSpecifiers: true
|
|
};
|
|
|
|
export default config;
|