-
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.
develop a simple speed aggregate, dont hook it up
- Loading branch information
1 parent
e6f7cd6
commit f314915
Showing
8 changed files
with
104 additions
and
25 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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { JSONToPrettyString } from "../utils"; | ||
import type { CustomLint } from "../CustomLint"; | ||
import type { LintFixer } from "../linter-tools/lint-fixer"; | ||
|
||
const lint: CustomLint = { | ||
name: "Discriminative Power Sufficient", | ||
program: JSONToPrettyString({ | ||
// @ts-ignore | ||
$schema: `${location.href}lint-schema.json`, | ||
"<": { | ||
left: { | ||
std: { speed: "colors" }, | ||
}, | ||
right: 0, | ||
}, | ||
}), | ||
taskTypes: ["sequential", "diverging", "categorical"] as const, | ||
level: "warning", | ||
group: "design", | ||
description: "Palette should have sufficient discriminative power. ", | ||
failMessage: ``, | ||
id: "discrim-power-built-in", | ||
blameMode: "single", | ||
}; | ||
export default lint; |