Merge pull request #772 from thomasnordquist/chore/fix-spellchecker
upgrade cspell and fix spelling issues
This commit is contained in:
20
.cspell.json
20
.cspell.json
@@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"import": [
|
||||||
|
"@cspell/dict-typescript/cspell-ext.json"
|
||||||
|
],
|
||||||
|
"ignoreRegExpList": [
|
||||||
|
"import(?:(?:(?:[ \\n\\t]+([^ *\\n\\t\\{\\},]+)[ \\n\\t]*(?:,|[ \\n\\t]+))?([ \\n\\t]*\\{(?:[ \\n\\t]*[^ \\n\\t\"'\\{\\}]+[ \\n\\t]*,?)+\\})?[ \\n\\t]*)|[ \n\\n\\t]*\\*[ \\n\\t]*as[ \\n\\t]+([^ \\n\\t\\{\\}]+)[ \\n\\t]+)from[ \\n\\t]*(?:['\"])([^'\"\\n]+)(['\"])\n",
|
||||||
|
"^import\\s+(['\"]).*\\1$"
|
||||||
|
],
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"words": [
|
"words": [
|
||||||
"Bbreak",
|
"Bbreak",
|
||||||
@@ -8,15 +15,13 @@
|
|||||||
"nowrap",
|
"nowrap",
|
||||||
"subheader",
|
"subheader",
|
||||||
"basepath",
|
"basepath",
|
||||||
"webdriverio",
|
|
||||||
"repo",
|
"repo",
|
||||||
"hexagonalize",
|
"hexagonalize",
|
||||||
"pixelize",
|
"pixelize",
|
||||||
"Transistions",
|
"Transistions",
|
||||||
"squashfs",
|
|
||||||
"squashfs",
|
|
||||||
"provisionprofile",
|
"provisionprofile",
|
||||||
"Nsis",
|
"Nsis",
|
||||||
|
"webdriverio",
|
||||||
"Appx",
|
"Appx",
|
||||||
"Hashable",
|
"Hashable",
|
||||||
"clickaway",
|
"clickaway",
|
||||||
@@ -26,8 +31,6 @@
|
|||||||
"Monokai",
|
"Monokai",
|
||||||
"plottable",
|
"plottable",
|
||||||
"snackbar",
|
"snackbar",
|
||||||
"webdriverio",
|
|
||||||
"prismjs",
|
|
||||||
"Nordquist",
|
"Nordquist",
|
||||||
"debounced",
|
"debounced",
|
||||||
"mosquitto",
|
"mosquitto",
|
||||||
@@ -47,6 +50,9 @@
|
|||||||
"mixins",
|
"mixins",
|
||||||
"Explorerdmg",
|
"Explorerdmg",
|
||||||
"heapsnapshot",
|
"heapsnapshot",
|
||||||
"noconflict"
|
"noconflict",
|
||||||
|
"sparkplugb",
|
||||||
|
"protojson",
|
||||||
|
"typesafe"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* spell-checker: disable */
|
||||||
|
|
||||||
const protocol = `
|
const protocol = `
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
|
||||||
@@ -197,4 +199,6 @@ message Payload {
|
|||||||
extensions 6 to max; // For third party extensions
|
extensions 6 to max; // For third party extensions
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
/* spell-checker: enable */
|
||||||
export default protocol
|
export default protocol
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
|
// cSpell:words protobuf
|
||||||
import * as protobuf from 'protobufjs'
|
import * as protobuf from 'protobufjs'
|
||||||
import protocol from './sparkplugb.proto'
|
import protocol from './sparkplugb.proto'
|
||||||
import { Base64Message } from './Base64Message'
|
import { Base64Message } from './Base64Message'
|
||||||
import { Decoder } from './Decoder'
|
import { Decoder } from './Decoder'
|
||||||
|
|
||||||
const root = protobuf.parse(protocol).root
|
const root = protobuf.parse(protocol).root
|
||||||
|
/* cspell:disable-next-line */
|
||||||
export let SparkplugPayload = root.lookupType('com.cirruslink.sparkplug.protobuf.Payload')
|
export let SparkplugPayload = root.lookupType('com.cirruslink.sparkplug.protobuf.Payload')
|
||||||
|
|
||||||
export const SparkplugDecoder = {
|
export const SparkplugDecoder = {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"dev": "npm-run-all --parallel dev:*",
|
"dev": "npm-run-all --parallel dev:*",
|
||||||
"dev:app": "cd app && npm run dev",
|
"dev:app": "cd app && npm run dev",
|
||||||
"dev:electron": "tsc && electron . --development",
|
"dev:electron": "tsc && electron . --development",
|
||||||
"lint": "npm-run-all --parallel lint:prettier lint:tslint",
|
"lint": "npm-run-all --parallel lint:prettier lint:tslint lint:spellcheck",
|
||||||
"lint:fix": "npm-run-all lint:tslint:fix lint:prettier:fix",
|
"lint:fix": "npm-run-all lint:tslint:fix lint:prettier:fix",
|
||||||
"lint:prettier": "prettier --check \"**/*.ts{x,}\"",
|
"lint:prettier": "prettier --check \"**/*.ts{x,}\"",
|
||||||
"lint:prettier:fix": "prettier --write \"**/*.ts{x,}\"",
|
"lint:prettier:fix": "prettier --write \"**/*.ts{x,}\"",
|
||||||
@@ -76,6 +76,7 @@
|
|||||||
"license": "CC-BY-ND-4.0",
|
"license": "CC-BY-ND-4.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/runtime": "^7.17.2",
|
"@babel/runtime": "^7.17.2",
|
||||||
|
"@cspell/dict-typescript": "^3.1.2",
|
||||||
"@electron/notarize": "^2.3.0",
|
"@electron/notarize": "^2.3.0",
|
||||||
"@types/chai": "^4.1.7",
|
"@types/chai": "^4.1.7",
|
||||||
"@types/fs-extra": "8",
|
"@types/fs-extra": "8",
|
||||||
@@ -89,7 +90,7 @@
|
|||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"builder-util-runtime": "^9",
|
"builder-util-runtime": "^9",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"cspell": "^4.0.28",
|
"cspell": "^8.6.1",
|
||||||
"electron": "29.2.0",
|
"electron": "29.2.0",
|
||||||
"electron-builder": "^24.13.3",
|
"electron-builder": "^24.13.3",
|
||||||
"mocha": "^10.4.0",
|
"mocha": "^10.4.0",
|
||||||
|
|||||||
@@ -17,10 +17,12 @@ export async function waitForDevServer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function loadDevTools() {
|
export function loadDevTools() {
|
||||||
|
/* spell-checker: disable */
|
||||||
// Redux
|
// Redux
|
||||||
// BrowserWindow.addDevToolsExtension(
|
// BrowserWindow.addDevToolsExtension(
|
||||||
// path.join(os.homedir(), '/Library/Application Support/Google/Chrome/Default/Extensions/lmhkpmbekcpmknklioeibfkpmmfibljd/2.17.0_0/')
|
// path.join(os.homedir(), '/Library/Application Support/Google/Chrome/Default/Extensions/lmhkpmbekcpmknklioeibfkpmmfibljd/2.17.0_0/')
|
||||||
// )
|
// )
|
||||||
|
/* spell-checker: enable */
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isDev() {
|
export function isDev() {
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ export async function expandTopic(path: string, browser: Page) {
|
|||||||
}
|
}
|
||||||
// while (topics.length <= originalTopics.length) {
|
// while (topics.length <= originalTopics.length) {
|
||||||
// const match = await browser.locator(topicSelector(topics))
|
// const match = await browser.locator(topicSelector(topics))
|
||||||
// console.log('topics', topics, 'orignial', originalTopics)
|
|
||||||
// console.log('click', match)
|
// console.log('click', match)
|
||||||
// await clickOn(match)
|
// await clickOn(match)
|
||||||
// topics.push(originalTopics[topics.length])
|
// topics.push(originalTopics[topics.length])
|
||||||
|
|||||||
Reference in New Issue
Block a user