meta: move config files to typescript
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I60de4abb5b81c4b14d95d7b6f1da8aa66a6a6964
This commit is contained in:
parent
7d8bc6943d
commit
ad491d69e8
5 changed files with 67 additions and 46 deletions
19
prettier.config.ts
Normal file
19
prettier.config.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import type { Config } from 'prettier';
|
||||
|
||||
const config: Config = {
|
||||
printWidth: 100,
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
semi: true,
|
||||
singleQuote: true,
|
||||
quoteProps: 'as-needed',
|
||||
jsxSingleQuote: false,
|
||||
trailingComma: 'es5',
|
||||
bracketSpacing: true,
|
||||
bracketSameLine: false,
|
||||
arrowParens: 'always',
|
||||
endOfLine: 'lf',
|
||||
plugins: [],
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue