Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# team: devjs, project: forms
CONVEX_DEPLOYMENT=

# Clerk configuration, get this key from your [Dashboard](dashboard.clerk.com)
VITE_CLERK_PUBLISHABLE_KEY=
CLERK_JWT_ISSUER_DOMAIN=

VITE_CONVEX_URL=
VITE_CONVEX_SITE_URL=

VITE_LOG_LEVEL=debug
VITE_CONVEX_SITE_URL=
143 changes: 143 additions & 0 deletions .eslintrc.perfectionist.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
export default {
'perfectionist/sort-enums': [
'error',
{
order: 'asc',
sortByValue: 'always',
type: 'natural',
},
],
'perfectionist/sort-exports': [
'error',
{
order: 'asc',
type: 'natural',
},
],
'perfectionist/sort-imports': [
'error',
{
order: 'asc',
type: 'natural',
customGroups: [
{
elementNamePattern: ['^react$', '^react-.+'],
groupName: 'react',
},
{
elementNamePattern: ['^expo$', '^expo-.+'],
groupName: 'expo',
},
],
groups: [
'side-effect',
'react',
'external',
'internal',
'parent',
'sibling',
'style',
],
},
],
'perfectionist/sort-jsx-props': [
'error',
{
order: 'asc',
type: 'natural',
customGroups: [
{
elementNamePattern: ['^key$'],
groupName: 'key',
},
{
elementNamePattern: ['^id$', '^testID$'],
groupName: 'main-identifier',
},
{
elementNamePattern: ['.*Id$', '.*ID$'],
groupName: 'secondary-identifier',
},
{
elementNamePattern: ['^on[A-Z][a-zA-Z]*$'],
groupName: 'method',
},
{
elementNamePattern: ['^style$'],
groupName: 'style',
},
],
groups: [
'key',
'main-identifier',
'secondary-identifier',
'unknown',
'method',
'multiline-prop',
'shorthand-prop',
'style',
],
},
],
'perfectionist/sort-object-types': [
'error',
{
order: 'asc',
type: 'natural',
customGroups: [
{
elementNamePattern: ['^id$', '^testID$'],
groupName: 'main-identifier',
},
{
elementNamePattern: ['.*Id$', '.*ID$'],
groupName: 'secondary-identifier',
},
],
groups: [
'main-identifier',
'secondary-identifier',
'required-property',
'optional-property',
'method',
'multiline-member',
],
},
],
'perfectionist/sort-objects': [
'error',
{
order: 'asc',
type: 'natural',
customGroups: [
{
elementNamePattern: ['^id$', '^testID$'],
groupName: 'main-identifier',
},
{
elementNamePattern: ['.*Id$', '.*ID$'],
groupName: 'secondary-identifier',
},
],
groups: [
'main-identifier',
'secondary-identifier',
'unknown',
'method',
'multiline-member',
],
},
],
'perfectionist/sort-switch-case': [
'error',
{
type: 'unsorted',
},
],
'perfectionist/sort-union-types': [
'error',
{
type: 'unsorted',
},
],
}
Loading