Skip to content

Commit

Permalink
prettier: automated run
Browse files Browse the repository at this point in the history
count: 3

Signed-off-by: Tharun T <[email protected]>
  • Loading branch information
dottharun committed Jul 20, 2024
1 parent d94b482 commit 1448dbc
Show file tree
Hide file tree
Showing 1,674 changed files with 59,072 additions and 49,215 deletions.
72 changes: 36 additions & 36 deletions .desktop-lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
module.exports = {
"ci": {
"collect": {
"settings": {
"preset": "desktop"
},
"staticDistDir": "./public",
"url": [
"http://localhost/404/index.html?desktop",
"http://localhost/?desktop",
"http://localhost/company/about/index.html?desktop",
"http://localhost/cloud-native-management/meshery/index.html?desktop",
"http://localhost/cloud-native-management/meshmap/index.html?desktop",
"http://localhost/learn/learning-paths/index.html?desktop",
"http://localhost/learn/service-mesh-books/index.html?desktop",
"http://localhost/learn/service-mesh-workshops/index.html?desktop",
"http://localhost/learn/index.html?desktop",
"http://localhost/blog/index.html?desktop",
"http://localhost/resources/index.html?desktop",
"http://localhost/careers/index.html?desktop",
"http://localhost/community/members/index.html?desktop",
"http://localhost/community/meshmates/index.html?desktop",
"http://localhost/community/events/index.html?desktop",
"http://localhost/community/newcomers/index.html?desktop",
],
ci: {
collect: {
settings: {
preset: 'desktop'
},
staticDistDir: './public',
url: [
'http://localhost/404/index.html?desktop',
'http://localhost/?desktop',
'http://localhost/company/about/index.html?desktop',
'http://localhost/cloud-native-management/meshery/index.html?desktop',
'http://localhost/cloud-native-management/meshmap/index.html?desktop',
'http://localhost/learn/learning-paths/index.html?desktop',
'http://localhost/learn/service-mesh-books/index.html?desktop',
'http://localhost/learn/service-mesh-workshops/index.html?desktop',
'http://localhost/learn/index.html?desktop',
'http://localhost/blog/index.html?desktop',
'http://localhost/resources/index.html?desktop',
'http://localhost/careers/index.html?desktop',
'http://localhost/community/members/index.html?desktop',
'http://localhost/community/meshmates/index.html?desktop',
'http://localhost/community/events/index.html?desktop',
'http://localhost/community/newcomers/index.html?desktop'
]
},
"assert": {
"assertions": {
"categories:performance": ["warn", {"minScore": .90}],
"categories:accessibility": ["warn", {"minScore": .90}],
"categories:best-practices": ["warn", {"minScore": .90}],
"categories:seo": ["warn", {"minScore": .90}],
}
},
"upload": {
"target": "temporary-public-storage",
},
assert: {
assertions: {
'categories:performance': ['warn', { minScore: 0.9 }],
'categories:accessibility': ['warn', { minScore: 0.9 }],
'categories:best-practices': ['warn', { minScore: 0.9 }],
'categories:seo': ['warn', { minScore: 0.9 }]
}
};
},
upload: {
target: 'temporary-public-storage'
}
}
};
119 changes: 53 additions & 66 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,59 @@
module.exports = {

"env": {
"browser": true,
"es6": true,
"node": true,
"amd": true
env: {
browser: true,
es6: true,
node: true,
amd: true
},
"settings": {
"react": {
"version": "detect"
settings: {
react: {
version: 'detect'
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
extends: ['eslint:recommended', 'plugin:react/recommended'],
parser: '@babel/eslint-parser',
parserOptions: {
ecmaFeatures: {
jsx: true
},
"ecmaVersion": 2018,
"sourceType": "module"
ecmaVersion: 2018,
sourceType: 'module'
},
"plugins": [
"react"
],
"rules": {
"array-bracket-spacing": ["error", "never"],
"comma-style": ["error"],
"arrow-spacing": [
"error",
plugins: ['react'],
rules: {
'array-bracket-spacing': ['error', 'never'],
'comma-style': ['error'],
'arrow-spacing': [
'error',
{
"after": true,
"before": true
after: true,
before: true
}
],
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": [
"error",
"1tbs"
'block-scoped-var': 'error',
'block-spacing': 'error',
'brace-style': ['error', '1tbs'],
'jsx-quotes': ['error', 'prefer-double'],
'keyword-spacing': 'error',
'key-spacing': [
'error',
{
beforeColon: false,
afterColon: true
}
],
"jsx-quotes": ["error", "prefer-double"],
"keyword-spacing": "error",
"key-spacing": ["error", {
"beforeColon": false,
"afterColon": true,
}],
"no-unused-vars": [
"warn",
'no-unused-vars': [
'warn',
{
"varsIgnorePattern": "React"
varsIgnorePattern: 'React'
}
],
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"react/display-name": 0,
"react/prop-types": 0,
"react/no-unescaped-entities": [0],
"react/jsx-no-duplicate-props": [0],
'no-trailing-spaces': 'error',
'object-curly-spacing': ['error', 'always'],
'react/display-name': 0,
'react/prop-types': 0,
'react/no-unescaped-entities': [0],
'react/jsx-no-duplicate-props': [0],
// "indent": [
// "error", 2, {
// "FunctionExpression": { "parameters": "first" },
Expand All @@ -71,28 +65,21 @@ module.exports = {
// ignoredNodes: ["TemplateLiteral"]
// }
// ],
"linebreak-style": [
"error",
"unix"
],
'linebreak-style': ['error', 'unix'],
// "quotes": [
// "error",
// "double"
// ],
"semi": [
"error",
"always"
],
"strict": 0,
"valid-typeof": 0,
"space-unary-ops": [
1, {
"words": true,
"nonwords": false
semi: ['error', 'always'],
strict: 0,
'valid-typeof': 0,
'space-unary-ops': [
1,
{
words: true,
nonwords: false
}
],
"space-infix-ops": [
"error"
]
'space-infix-ops': ['error']
}
};
70 changes: 35 additions & 35 deletions .lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
module.exports = {
"ci": {
"collect": {
"staticDistDir": "./public",
"url" : [
"http://localhost/404.html",
"http://localhost/404/index.html",
"http://localhost",
"http://localhost/company/about/index.html",
"http://localhost/cloud-native-management/meshery/index.html",
"http://localhost/cloud-native-management/meshmap/index.html",
"http://localhost/learn/learning-paths/index.html",
"http://localhost/learn/service-mesh-books/index.html",
"http://localhost/learn/service-mesh-workshops/index.html",
"http://localhost/learn/index.html",
"http://localhost/blog/index.html",
"http://localhost/resources/index.html",
"http://localhost/careers/index.html",
"http://localhost/community/members/index.html",
"http://localhost/community/meshmates/index.html",
"http://localhost/community/events/index.html",
"http://localhost/community/newcomers/index.html",
],
},
"assert": {
"assertions": {
"categories:performance": ["warn", {"minScore": .90}],
"categories:accessibility": ["warn", {"minScore": .90}],
"categories:best-practices": ["warn", {"minScore": .90}],
"categories:seo": ["warn", {"minScore": .90}],
}
},
"upload": {
"target": "temporary-public-storage",
},
ci: {
collect: {
staticDistDir: './public',
url: [
'http://localhost/404.html',
'http://localhost/404/index.html',
'http://localhost',
'http://localhost/company/about/index.html',
'http://localhost/cloud-native-management/meshery/index.html',
'http://localhost/cloud-native-management/meshmap/index.html',
'http://localhost/learn/learning-paths/index.html',
'http://localhost/learn/service-mesh-books/index.html',
'http://localhost/learn/service-mesh-workshops/index.html',
'http://localhost/learn/index.html',
'http://localhost/blog/index.html',
'http://localhost/resources/index.html',
'http://localhost/careers/index.html',
'http://localhost/community/members/index.html',
'http://localhost/community/meshmates/index.html',
'http://localhost/community/events/index.html',
'http://localhost/community/newcomers/index.html'
]
},
assert: {
assertions: {
'categories:performance': ['warn', { minScore: 0.9 }],
'categories:accessibility': ['warn', { minScore: 0.9 }],
'categories:best-practices': ['warn', { minScore: 0.9 }],
'categories:seo': ['warn', { minScore: 0.9 }]
}
},
upload: {
target: 'temporary-public-storage'
}
};
}
};
4 changes: 2 additions & 2 deletions content-learn/mastering-kubernetes-for-engineers/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ courses: 0
disabled: yes
---

<!--
<!--
This file is only used to render the courses list within a learning path.
Check the Learn-Layer5 folder under src/sections/, src/templates for more understanding of how the data is used
-->
-->
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
---
docType: "Course"
title: "Course"
description: "A course which teaches advanced concepts of service meshes and how to use them in an application effectively."
courseTitle: "Advance Concepts of Service Meshes - Hands On"
themeColor: "#466BB0"
docType: 'Course'
title: 'Course'
description: 'A course which teaches advanced concepts of service meshes and how to use them in an application effectively.'
courseTitle: 'Advance Concepts of Service Meshes - Hands On'
themeColor: '#466BB0'
order: 2
videos: 3
lectures: 8
cardImage: "../../../src/assets/images/service-mesh-icons/istio-white.svg"
cardImage: '../../../src/assets/images/service-mesh-icons/istio-white.svg'
meshesYouLearn:
[
{
imagepath: "../../../src/assets/images/service-mesh-icons/istio.svg",
name: "Istio",
},
{
imagepath: "../../../src/assets/images/service-mesh-icons/linkerd.webp",
name: "Linkerd",
}
{ imagepath: '../../../src/assets/images/service-mesh-icons/istio.svg', name: 'Istio' },
{ imagepath: '../../../src/assets/images/service-mesh-icons/linkerd.webp', name: 'Linkerd' }
]
toc:
[
Expand All @@ -28,7 +22,7 @@ toc:
'traffic-management',
'service-security-capabilities',
'webassembly-and-intelligent-data-planes',
'conclusion',
'conclusion'
]
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
docType: "Chapter"
chapterTitle: "Conclusion"
description: "As a self-service engineering platform, Meshery enables collaborative design and operation of cloud native infrastructure."
docType: 'Chapter'
chapterTitle: 'Conclusion'
description: 'As a self-service engineering platform, Meshery enables collaborative design and operation of cloud native infrastructure.'
videos: 4
lectures: 12
order: 8
---

import { ChapterStyle } from "../../../../src/components/Learn-Components/Chapters-Style/chapters.style.js";
import { ChapterStyle } from '../../../../src/components/Learn-Components/Chapters-Style/chapters.style.js';

<ChapterStyle>

Expand All @@ -16,8 +16,8 @@ import { ChapterStyle } from "../../../../src/components/Learn-Components/Chapte
<h3>Congratulations!</h3>

<h5>
You have successfully completed the course on{" "}
<b>"Advanced concepts of service meshes - Hands on"</b> using{" "}
You have successfully completed the course on{' '}
<b>"Advanced concepts of service meshes - Hands on"</b> using{' '}
<b>
<em>Istio</em>
</b>
Expand Down
Loading

0 comments on commit 1448dbc

Please sign in to comment.