mirror of
https://github.com/wassname/talk.git
synced 2026-08-19 12:40:16 +08:00
[CORL-678] Transition to eslint (#2634)
* chore: setup eslint * chore: tslint checks with types & check for import order * chore: complete eslint transition * fix: tests * fix: linting after rebase, faster lint for lint-staged * chore: remove line * fix: lint rules * feat: add a11y linter and fix errors * fix: tests
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
* We keep the `.ts` extension to keep the types.
|
||||
*/
|
||||
|
||||
export type Spacing = keyof typeof variables["spacing"];
|
||||
export type Shade = keyof typeof variables["palette"]["primary"];
|
||||
|
||||
const variables = {
|
||||
elevation: {
|
||||
main: "1px 0px 4px rgba(0, 0, 0, 0.25)",
|
||||
@@ -90,7 +87,7 @@ const variables = {
|
||||
fontWeightRegular: 400,
|
||||
fontWeightMedium: 600,
|
||||
fontWeightBold: 700,
|
||||
/***************/
|
||||
/** End Deprecated */
|
||||
fontSize: {
|
||||
1: "12px",
|
||||
2: "14px",
|
||||
@@ -154,4 +151,6 @@ const variables = {
|
||||
},
|
||||
};
|
||||
|
||||
export type Spacing = keyof typeof variables["spacing"];
|
||||
export type Shade = keyof typeof variables["palette"]["primary"];
|
||||
export default variables;
|
||||
|
||||
Reference in New Issue
Block a user