
* chore(apps): setup prettier + eslint for all our apps * fix(docs): Fixed the use of implicit any type * chore(apps): Added .eslintignore files
24 lines
467 B
JavaScript
24 lines
467 B
JavaScript
/** @type {import("@types/prettier").Options} */
|
|
module.exports = {
|
|
printWidth: 100,
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: "es5",
|
|
useTabs: true,
|
|
plugins: ["../../node_modules/prettier-plugin-astro"],
|
|
overrides: [
|
|
{
|
|
files: "*.astro",
|
|
options: {
|
|
parser: "astro",
|
|
},
|
|
},
|
|
{
|
|
files: [".*", "*.json", "*.md", "*.toml", "*.yml"],
|
|
options: {
|
|
useTabs: false,
|
|
},
|
|
},
|
|
],
|
|
};
|