diff --git a/src/tools/index.ts b/src/tools/index.ts index aa861c93..9d3579fb 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -6,6 +6,7 @@ import { tool as asciiTextDrawer } from './ascii-text-drawer'; import { tool as textToUnicode } from './text-to-unicode'; import { tool as safelinkDecoder } from './safelink-decoder'; +import { tool as jsonLinter } from './json-linter'; import { tool as pdfSignatureChecker } from './pdf-signature-checker'; import { tool as numeronymGenerator } from './numeronym-generator'; import { tool as macAddressGenerator } from './mac-address-generator'; @@ -142,6 +143,7 @@ export const toolsByCategory: ToolCategory[] = [ crontabGenerator, jsonViewer, jsonMinify, + jsonLinter, jsonToCsv, sqlPrettify, chmodCalculator, diff --git a/src/tools/json-linter/index.ts b/src/tools/json-linter/index.ts new file mode 100644 index 00000000..2bd90417 --- /dev/null +++ b/src/tools/json-linter/index.ts @@ -0,0 +1,12 @@ +import { ArrowsShuffle } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Json linter', + path: '/json-linter', + description: '', + keywords: ['json', 'linter'], + component: () => import('./json-linter.vue'), + icon: ArrowsShuffle, + createdAt: new Date('2024-03-27'), +}); \ No newline at end of file diff --git a/src/tools/json-linter/json-linter.vue b/src/tools/json-linter/json-linter.vue new file mode 100644 index 00000000..0b137187 --- /dev/null +++ b/src/tools/json-linter/json-linter.vue @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + {{ message.message }} ( + See JSON help + ) + + + + + + + Validation successful! + + + +