24 lines
796 B
JavaScript
24 lines
796 B
JavaScript
// Prettier configuration aligned with @xo-cash/eslint-config
|
|
export default {
|
|
// Matches @stylistic/max-len': [ 'warn', 150, ...]
|
|
printWidth: 150,
|
|
|
|
// Matches @stylistic/no-tabs': [ 'error' ]
|
|
useTabs: false,
|
|
|
|
// Matches @stylistic/indent': [ 'error', 4, ...]
|
|
tabWidth: 4,
|
|
|
|
// Matches @stylistic/array-bracket-spacing': [ 'error', 'always', ...]
|
|
bracketSpacing: true,
|
|
|
|
// Matches @stylistic/quotes: ['error', 'single', { avoidEscape: true }], from @chalp/eslint-airbnb/base/stylistic.js
|
|
singleQuote: true,
|
|
|
|
// Matches @stylistic/semi: ['error', 'always'], from @chalp/eslint-airbnb/base/stylistic.js
|
|
semi: true,
|
|
|
|
// Matches @stylistic/arrow-parens: ['error', 'always'], from @chalp/eslint-airbnb/base/stylistic.js
|
|
arrowParens: 'always',
|
|
};
|