-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
395d634
commit 0e55959
Showing
4 changed files
with
153 additions
and
153 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,14 +1,14 @@ | ||
# Privacy Policy | ||
|
||
Wordwyrm doesn't track, log, or share your personal information. | ||
|
||
## Third-party integration | ||
|
||
By default, the app uses an Open Library API. Open Library is a project of the Internet Archive. | ||
See [Internet Archive's Terms of Use, Privacy Policy, and Copyright Policy](https://archive.org/about/terms.php). | ||
|
||
If using Google API Keys, see the | ||
[Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice) as well as | ||
[Google Privacy & Terms](https://policies.google.com/privacy). | ||
|
||
This app does not use either of these APIs to collect any data on users. | ||
# Privacy Policy | ||
|
||
Wordwyrm doesn't track, log, or share your personal information. | ||
|
||
## Third-party integration | ||
|
||
By default, the app uses an Open Library API. Open Library is a project of the Internet Archive. | ||
See [Internet Archive's Terms of Use, Privacy Policy, and Copyright Policy](https://archive.org/about/terms.php). | ||
|
||
If using Google API Keys, see the | ||
[Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice) as well as | ||
[Google Privacy & Terms](https://policies.google.com/privacy). | ||
|
||
This app does not use either of these APIs to collect any data on users. |
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,79 +1,79 @@ | ||
export default { | ||
/** @type {import('@typescript-eslint/utils').TSESLint.SharedConfig.RulesRecord} */ | ||
tsRules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
args: "all", | ||
argsIgnorePattern: "^_", | ||
caughtErrors: "all", | ||
caughtErrorsIgnorePattern: "^_", | ||
destructuredArrayIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
ignoreRestSiblings: true, | ||
}, | ||
], | ||
"no-multi-spaces": [ | ||
"error", | ||
{ | ||
ignoreEOLComments: true, | ||
}, | ||
], | ||
"block-spacing": ["error", "always"], | ||
"array-bracket-spacing": ["error", "never"], | ||
"space-in-parens": ["error", "never"], | ||
"comma-spacing": [ | ||
"error", | ||
{ | ||
before: false, | ||
after: true, | ||
}, | ||
], | ||
"key-spacing": [ | ||
"error", | ||
{ | ||
afterColon: true, | ||
beforeColon: false, | ||
}, | ||
], | ||
quotes: [ | ||
"error", | ||
"double", | ||
{ | ||
avoidEscape: true, | ||
allowTemplateLiterals: true, | ||
}, | ||
], | ||
semi: ["error", "always"], | ||
"no-console": ["warn"], | ||
"no-constant-condition": ["warn"], | ||
curly: ["error", "all"], | ||
"brace-style": [ | ||
"error", | ||
"1tbs", | ||
{ | ||
allowSingleLine: false, | ||
}, | ||
], | ||
"keyword-spacing": [ | ||
"error", | ||
{ | ||
before: true, | ||
after: true, | ||
}, | ||
], | ||
"object-curly-spacing": ["error", "always"], | ||
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"], | ||
"spaced-comment": [2, "always"], | ||
"space-before-blocks": ["error", "always"], | ||
"space-before-function-paren": "off", | ||
"prefer-template": "error", | ||
"no-useless-concat": "error", | ||
"linebreak-style": ["error", "unix"], | ||
"eol-last": ["error", "always"], | ||
"template-curly-spacing": ["error", "never"], | ||
"no-control-regex": "off", | ||
"no-extra-boolean-cast": "off", | ||
"no-useless-escape": "off", | ||
}, | ||
}; | ||
export default { | ||
/** @type {import('@typescript-eslint/utils').TSESLint.SharedConfig.RulesRecord} */ | ||
tsRules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
args: "all", | ||
argsIgnorePattern: "^_", | ||
caughtErrors: "all", | ||
caughtErrorsIgnorePattern: "^_", | ||
destructuredArrayIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
ignoreRestSiblings: true, | ||
}, | ||
], | ||
"no-multi-spaces": [ | ||
"error", | ||
{ | ||
ignoreEOLComments: true, | ||
}, | ||
], | ||
"block-spacing": ["error", "always"], | ||
"array-bracket-spacing": ["error", "never"], | ||
"space-in-parens": ["error", "never"], | ||
"comma-spacing": [ | ||
"error", | ||
{ | ||
before: false, | ||
after: true, | ||
}, | ||
], | ||
"key-spacing": [ | ||
"error", | ||
{ | ||
afterColon: true, | ||
beforeColon: false, | ||
}, | ||
], | ||
quotes: [ | ||
"error", | ||
"double", | ||
{ | ||
avoidEscape: true, | ||
allowTemplateLiterals: true, | ||
}, | ||
], | ||
semi: ["error", "always"], | ||
"no-console": ["warn"], | ||
"no-constant-condition": ["warn"], | ||
curly: ["error", "all"], | ||
"brace-style": [ | ||
"error", | ||
"1tbs", | ||
{ | ||
allowSingleLine: false, | ||
}, | ||
], | ||
"keyword-spacing": [ | ||
"error", | ||
{ | ||
before: true, | ||
after: true, | ||
}, | ||
], | ||
"object-curly-spacing": ["error", "always"], | ||
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"], | ||
"spaced-comment": [2, "always"], | ||
"space-before-blocks": ["error", "always"], | ||
"space-before-function-paren": "off", | ||
"prefer-template": "error", | ||
"no-useless-concat": "error", | ||
"linebreak-style": ["error", "unix"], | ||
"eol-last": ["error", "always"], | ||
"template-curly-spacing": ["error", "never"], | ||
"no-control-regex": "off", | ||
"no-extra-boolean-cast": "off", | ||
"no-useless-escape": "off", | ||
}, | ||
}; |
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,40 +1,40 @@ | ||
import fs from "fs"; | ||
import path from "path"; | ||
|
||
const pkg = process.argv.pop(); | ||
|
||
const buildData = (() => { | ||
switch (pkg) { | ||
case "dev": | ||
return { platform: "dev", package: "__none__" }; | ||
case "appImage": | ||
return { platform: "linux", package: pkg }; | ||
case "appx": | ||
return { platform: "windows", package: pkg }; | ||
case "deb": | ||
return { platform: "linux", package: pkg }; | ||
case "dmg": | ||
return { platform: "darwin", package: pkg }; | ||
case "linux": | ||
return { platform: "linux", package: pkg }; | ||
case "mas": | ||
return { platform: "darwin", package: pkg }; | ||
case "nsis": | ||
return { platform: "windows", package: pkg }; | ||
case "rpm": | ||
return { platform: "linux", package: pkg }; | ||
case "snap": | ||
return { platform: "linux", package: pkg }; | ||
case "win": | ||
return { platform: "windows", package: "portable" }; | ||
default: | ||
console.error("Invalid build package."); | ||
process.exit(); | ||
} | ||
})(); | ||
|
||
fs.writeFileSync( | ||
path.join(__dirname, "../electron/build.ts"), | ||
`export default ${JSON.stringify(buildData, undefined, 2)};\n`, | ||
{ flag: "w", encoding: "utf8" }, | ||
); | ||
import fs from "fs"; | ||
import path from "path"; | ||
|
||
const pkg = process.argv.pop(); | ||
|
||
const buildData = (() => { | ||
switch (pkg) { | ||
case "dev": | ||
return { platform: "dev", package: "__none__" }; | ||
case "appImage": | ||
return { platform: "linux", package: pkg }; | ||
case "appx": | ||
return { platform: "windows", package: pkg }; | ||
case "deb": | ||
return { platform: "linux", package: pkg }; | ||
case "dmg": | ||
return { platform: "darwin", package: pkg }; | ||
case "linux": | ||
return { platform: "linux", package: pkg }; | ||
case "mas": | ||
return { platform: "darwin", package: pkg }; | ||
case "nsis": | ||
return { platform: "windows", package: pkg }; | ||
case "rpm": | ||
return { platform: "linux", package: pkg }; | ||
case "snap": | ||
return { platform: "linux", package: pkg }; | ||
case "win": | ||
return { platform: "windows", package: "portable" }; | ||
default: | ||
console.error("Invalid build package."); | ||
process.exit(); | ||
} | ||
})(); | ||
|
||
fs.writeFileSync( | ||
path.join(__dirname, "../electron/build.ts"), | ||
`export default ${JSON.stringify(buildData, undefined, 2)};\n`, | ||
{ flag: "w", encoding: "utf8" }, | ||
); |
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,20 +1,20 @@ | ||
/** @type {import('stylelint').Config} */ | ||
export default { | ||
extends: "stylelint-config-standard-scss", | ||
customSyntax: "postcss-html", | ||
rules: { | ||
"selector-class-pattern": [ | ||
"^(?:[a-z][A-Za-z0-9]*(?:-[A-Za-z0-9]+)*(?:__[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)?(?:--[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)?)?(?:\\[.+\\])?$", | ||
{ | ||
message: "Expected property name to be in BEM format", | ||
resolveNestedSelectors: true, | ||
}, | ||
], | ||
"selector-pseudo-class-no-unknown": [ | ||
true, | ||
{ | ||
ignorePseudoClasses: ["global", "export"], | ||
}, | ||
], | ||
}, | ||
}; | ||
/** @type {import('stylelint').Config} */ | ||
export default { | ||
extends: "stylelint-config-standard-scss", | ||
customSyntax: "postcss-html", | ||
rules: { | ||
"selector-class-pattern": [ | ||
"^(?:[a-z][A-Za-z0-9]*(?:-[A-Za-z0-9]+)*(?:__[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)?(?:--[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)?)?(?:\\[.+\\])?$", | ||
{ | ||
message: "Expected property name to be in BEM format", | ||
resolveNestedSelectors: true, | ||
}, | ||
], | ||
"selector-pseudo-class-no-unknown": [ | ||
true, | ||
{ | ||
ignorePseudoClasses: ["global", "export"], | ||
}, | ||
], | ||
}, | ||
}; |