-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: formatting with new prettier configf (#54)
- Loading branch information
Showing
1,071 changed files
with
29,932 additions
and
29,635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,66 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": ["**/*"], | ||
"plugins": ["@nx"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [ | ||
{ | ||
"sourceTag": "*", | ||
"onlyDependOnLibsWithTags": ["*"] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nx/typescript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nx/javascript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": {} | ||
}, | ||
{ | ||
"files": "*.json", | ||
"parser": "jsonc-eslint-parser", | ||
"rules": { | ||
"@nx/dependency-checks": [ | ||
"error", | ||
{ | ||
"buildTargets": ["build"], | ||
"checkMissingDependencies": true, | ||
"checkObsoleteDependencies": true, | ||
"checkVersionMismatches": true, | ||
"ignoredDependencies": [ | ||
"jest-preset-angular", | ||
"jest-axe", | ||
"@testing-library/jest-dom", | ||
"rxjs", | ||
"@spartan-ng/ui-icon-helm", | ||
"@spartan-ng/ui-button-helm", | ||
"@spartan-ng/ui-avatar-brain" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
"root": true, | ||
"ignorePatterns": ["**/*"], | ||
"plugins": ["@nx"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [ | ||
{ | ||
"sourceTag": "*", | ||
"onlyDependOnLibsWithTags": ["*"] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nx/typescript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nx/javascript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": {} | ||
}, | ||
{ | ||
"files": "*.json", | ||
"parser": "jsonc-eslint-parser", | ||
"rules": { | ||
"@nx/dependency-checks": [ | ||
"error", | ||
{ | ||
"buildTargets": ["build"], | ||
"checkMissingDependencies": true, | ||
"checkObsoleteDependencies": true, | ||
"checkVersionMismatches": true, | ||
"ignoredDependencies": [ | ||
"jest-preset-angular", | ||
"jest-axe", | ||
"@testing-library/jest-dom", | ||
"rxjs", | ||
"@spartan-ng/ui-icon-helm", | ||
"@spartan-ng/ui-button-helm", | ||
"@spartan-ng/ui-avatar-brain" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"*.{js,ts,css,scss,html,json,md,yml}": "prettier --write" | ||
"*.{js,ts,css,scss,html,json,md,yml}": "prettier --write" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"semi": true, | ||
"bracketSpacing": true | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"useTabs": true, | ||
"bracketSpacing": true, | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"nrwl.angular-console", | ||
"esbenp.prettier-vscode", | ||
"firsttris.vscode-jest-runner", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
"recommendations": [ | ||
"nrwl.angular-console", | ||
"esbenp.prettier-vscode", | ||
"firsttris.vscode-jest-runner", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"eslint.validate": ["json"] | ||
"eslint.validate": ["json"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
{ | ||
"extends": ["../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts"], | ||
"extends": ["plugin:@nx/angular", "plugin:@angular-eslint/template/process-inline-templates"], | ||
"rules": { | ||
"@angular-eslint/no-host-metadata-property": 0, | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": "attribute", | ||
"prefix": "spartan", | ||
"style": "camelCase" | ||
} | ||
], | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": "spartan", | ||
"style": "kebab-case" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.html"], | ||
"extends": ["plugin:@nx/angular-template"], | ||
"rules": {} | ||
} | ||
] | ||
"extends": ["../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts"], | ||
"extends": ["plugin:@nx/angular", "plugin:@angular-eslint/template/process-inline-templates"], | ||
"rules": { | ||
"@angular-eslint/no-host-metadata-property": 0, | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": "attribute", | ||
"prefix": "spartan", | ||
"style": "camelCase" | ||
} | ||
], | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": "spartan", | ||
"style": "kebab-case" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.html"], | ||
"extends": ["plugin:@nx/angular-template"], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html class="dark h-full" lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>spartan - Cutting-edge tools powering Angular full-stack development</title> | ||
<base href="/" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="icon" type="image/x-icon" href="/assets/spartan.svg" /> | ||
<link rel="stylesheet" href="/src/styles.css" /> | ||
<script> | ||
if (localStorage.theme !== 'default') { | ||
if (document && document.body) { | ||
document.body.classList.add('theme-' + localStorage.theme); | ||
} | ||
} | ||
if (localStorage.darkMode === 'dark') { | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.add('dark'); | ||
} | ||
} else if (localStorage.darkMode === 'light') { | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.remove('dark'); | ||
localStorage.setItem('darkMode', 'light'); | ||
} | ||
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { | ||
localStorage.setItem('darkMode', 'system'); | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.add('dark'); | ||
} | ||
} else { | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.remove('dark'); | ||
} | ||
} | ||
</script> | ||
</head> | ||
<body class="h-full bg-background text-foreground"> | ||
<script> | ||
if (localStorage.theme !== 'default' && document && document.body) | ||
document.body.classList.add('theme-' + localStorage.theme); | ||
</script> | ||
<spartan-root></spartan-root> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>spartan - Cutting-edge tools powering Angular full-stack development</title> | ||
<base href="/" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="icon" type="image/x-icon" href="/assets/spartan.svg" /> | ||
<link rel="stylesheet" href="/src/styles.css" /> | ||
<script> | ||
if (localStorage.theme !== 'default') { | ||
if (document && document.body) { | ||
document.body.classList.add('theme-' + localStorage.theme); | ||
} | ||
} | ||
if (localStorage.darkMode === 'dark') { | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.add('dark'); | ||
} | ||
} else if (localStorage.darkMode === 'light') { | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.remove('dark'); | ||
localStorage.setItem('darkMode', 'light'); | ||
} | ||
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { | ||
localStorage.setItem('darkMode', 'system'); | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.add('dark'); | ||
} | ||
} else { | ||
if (document && document.documentElement) { | ||
document.documentElement.classList.remove('dark'); | ||
} | ||
} | ||
</script> | ||
</head> | ||
<body class="bg-background text-foreground h-full"> | ||
<script> | ||
if (localStorage.theme !== 'default' && document && document.body) | ||
document.body.classList.add('theme-' + localStorage.theme); | ||
</script> | ||
<spartan-root></spartan-root> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
const { join } = require('path'); | ||
|
||
module.exports = { | ||
plugins: { | ||
tailwindcss: { | ||
config: join(__dirname, 'tailwind.config.js'), | ||
}, | ||
autoprefixer: {}, | ||
}, | ||
plugins: { | ||
tailwindcss: { | ||
config: join(__dirname, 'tailwind.config.js'), | ||
}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
Oops, something went wrong.
3b6fd01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
spartan – ./
spartan-git-main-goetzrobin.vercel.app
spartan-goetzrobin.vercel.app
www.spartan.ng
spartan.ng