[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:
Vinh
2019-10-15 22:56:38 +00:00
committed by Wyatt Johnson
parent b0e0ba6633
commit 3bfcc509d2
569 changed files with 2592 additions and 1925 deletions
+3 -4
View File
@@ -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;