Skip to content

Commit

Permalink
Merge pull request #32 from IAM5K/style/linting-v2.1.0
Browse files Browse the repository at this point in the history
Style/linting v2.1.0
Formatted whole project with linter and prettier
  • Loading branch information
IAM5K authored Apr 2, 2024
2 parents 1469b52 + dd55fde commit 24b02d3
Show file tree
Hide file tree
Showing 212 changed files with 4,909 additions and 3,892 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"root": true,
"ignorePatterns": ["projects/**/*"],
"ignorePatterns": ["projects/**/*", "functions/**/**"],
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"rules": {
"object-curly-spacing": ["error", "always"], // Ensure no space around `{`
"quotes": ["error", "double"] // Example ESLint rule for quotes, adjust as needed
},
"overrides": [
{
"files": ["*.ts"],
Expand Down
19 changes: 16 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
{
"recommendations": [
"ionic.ionic"
]
"recommendations": [
"ionic.ionic",
"donjayamanne.githistory",
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint",
"toba.vsfire",
"eamodio.gitlens",
"yzhang.markdown-all-in-one",
"pkief.material-icon-theme",
"pilaton.vscode-npm-lens",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint",
"wayou.vscode-todo-highlight",
"johnpapa.angular2",
"angular.ng-template"
]
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.defaultFormatter": "vscode.html-language-features",
"cSpell.words": ["arize", "Drucker", "etags", "maxlength"],
"editor.formatOnSave": true,
"cSpell.words": ["arize", "Drucker", "etags", "maxlength", "subdir"],
"editor.formatOnSave": true,
"prettier.htmlWhitespaceSensitivity": "ignore",
"[github-actions-workflow]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand Down
25 changes: 6 additions & 19 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,8 @@
"src/robots.txt",
"src/sitemap.xml"
],
"allowedCommonJsDependencies": [
"file-saver"
],
"styles": [
"src/theme/variables.scss",
"src/global.scss"
],
"allowedCommonJsDependencies": ["file-saver"],
"styles": ["src/theme/variables.scss", "src/global.scss"],
"scripts": [],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
Expand Down Expand Up @@ -123,10 +118,7 @@
},
"src/manifest.webmanifest"
],
"styles": [
"src/theme/variables.scss",
"src/global.scss"
],
"styles": ["src/theme/variables.scss", "src/global.scss"],
"scripts": []
},
"configurations": {
Expand All @@ -139,10 +131,7 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
},
"deploy": {
Expand All @@ -159,9 +148,7 @@
}
},
"cli": {
"schematicCollections": [
"@ionic/angular-toolkit"
]
"schematicCollections": ["@ionic/angular-toolkit"]
},
"schematics": {
"@ionic/angular-toolkit:component": {
Expand All @@ -171,4 +158,4 @@
"styleext": "scss"
}
}
}
}
10 changes: 5 additions & 5 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { CapacitorConfig } from '@capacitor/cli';
import { CapacitorConfig } from "@capacitor/cli";

const config: CapacitorConfig = {
appId: 'io.ionic.starter',
appName: 'summarize',
webDir: 'www',
bundledWebRuntime: false
appId: "app.web.summarize-ng",
appName: "summarize",
webDir: "www",
bundledWebRuntime: false,
};

export default config;
Loading

0 comments on commit 24b02d3

Please sign in to comment.