Skip to content

Commit

Permalink
updates to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougie committed Aug 16, 2024
1 parent 41c12e5 commit e1154af
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 452 deletions.
27 changes: 27 additions & 0 deletions .eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"extends": ["next/core-web-vitals", "plugin:storybook/recommended"],
"plugins": ["unused-imports", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true
},
"rules": {
"jsx-quotes": "error",
"unused-imports/no-unused-imports": "error",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "object", "type", "index", "parent", "sibling"]
}
],
"no-console": "error",
"no-debugger": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "typeLike",
"format": ["PascalCase"]
}
]
}
}
Loading

0 comments on commit e1154af

Please sign in to comment.