prettier fix

This commit is contained in:
Deepak Prabhakara 2024-02-04 15:38:33 +00:00
parent eaf1bbc291
commit e7056f9eb1
6 changed files with 17 additions and 19 deletions

View File

@ -3,9 +3,16 @@ module.exports = {
bracketSameLine: true, bracketSameLine: true,
singleQuote: true, singleQuote: true,
jsxSingleQuote: true, jsxSingleQuote: true,
trailingComma: "es5", trailingComma: 'es5',
semi: true, semi: true,
printWidth: 110, printWidth: 110,
arrowParens: "always", arrowParens: 'always',
importOrderSeparation: true, overrides: [
{
files: ['tsconfig.json', 'jsconfig.json'],
options: {
parser: 'jsonc',
},
},
],
}; };

View File

@ -1,3 +0,0 @@
{
"editor.formatOnSave": true
}

View File

@ -3,15 +3,7 @@
"description": "Mock SAML is a free SAML 2.0 Identity Provider for testing SAML SSO integrations.", "description": "Mock SAML is a free SAML 2.0 Identity Provider for testing SAML SSO integrations.",
"repository": "https://github.com/boxyhq/mock-saml", "repository": "https://github.com/boxyhq/mock-saml",
"logo": "https://boxyhq.com/img/logo.png", "logo": "https://boxyhq.com/img/logo.png",
"keywords": [ "keywords": ["saml", "saml2", "saml-idp", "mock-saml-idp", "test-saml", "saml-testing", "fake-saml-idp"],
"saml",
"saml2",
"saml-idp",
"mock-saml-idp",
"test-saml",
"saml-testing",
"fake-saml-idp"
],
"env": { "env": {
"APP_URL": { "APP_URL": {
"description": "Public root URL of the Mock SAML installation. Replace <HEROKU_APP_NAME> with 'App name' from above.", "description": "Public root URL of the Mock SAML installation. Replace <HEROKU_APP_NAME> with 'App name' from above.",

View File

@ -9,6 +9,8 @@
"build": "next build", "build": "next build",
"start": "next start -p 4000", "start": "next start -p 4000",
"lint": "next lint", "lint": "next lint",
"check-format": "prettier --check .",
"format": "prettier --write .",
"release": "git checkout release && git merge origin/main && release-it && git checkout main && git merge origin/release && git push origin main" "release": "git checkout release && git merge origin/main && release-it && git checkout main && git merge origin/release && git push origin main"
}, },
"dependencies": { "dependencies": {

View File

@ -3,4 +3,4 @@ module.exports = {
tailwindcss: {}, tailwindcss: {},
autoprefixer: {}, autoprefixer: {},
}, },
} };

View File

@ -14,8 +14,8 @@
"isolatedModules": true, "isolatedModules": true,
"jsx": "preserve", "jsx": "preserve",
"incremental": true, "incremental": true,
"baseUrl": "." "baseUrl": ".",
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"] "exclude": ["node_modules"],
} }