mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 22:59:47 +00:00
feat(UI): Adding linter and prettier for UI
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
61582f327c
commit
ca80ab3b9e
4 changed files with 41 additions and 2 deletions
|
|
@ -10,7 +10,13 @@ const compat = new FlatCompat({
|
|||
});
|
||||
|
||||
const eslintConfig = [
|
||||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
...compat.extends("next/core-web-vitals", "next/typescript", "prettier"),
|
||||
...compat.plugins("prettier"),
|
||||
{
|
||||
rules: {
|
||||
"prettier/prettier": "error",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default eslintConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue