├── .DS_Store ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .prettierrc.yml ├── .vscode └── launch.json └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rememberlenny/figma-variable-fonts/b87d17e463171285cd20599249727ecdaa16269e/.DS_Store -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | built -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | /* 2 | 👋 Hi! This file was autogenerated by tslint-to-eslint-config. 3 | https://github.com/typescript-eslint/tslint-to-eslint-config 4 | 5 | It represents the closest reasonable ESLint configuration to this 6 | project's original TSLint configuration. 7 | 8 | We recommend eventually switching this configuration to extend from 9 | the recommended rulesets in typescript-eslint. 10 | https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md 11 | 12 | Happy linting! 💖 13 | */ 14 | module.exports = { 15 | "env": { 16 | "browser": true, 17 | "node": true 18 | }, 19 | "extends": [ 20 | "plugin:@typescript-eslint/recommended", 21 | "plugin:@typescript-eslint/recommended-requiring-type-checking", 22 | "prettier/@typescript-eslint" 23 | ], 24 | "ignorePatterns": [ 25 | "node_modules", 26 | "dist", 27 | "built" 28 | ], 29 | "parser": "@typescript-eslint/parser", 30 | "parserOptions": { 31 | "project": "tsconfig.json", 32 | "sourceType": "module" 33 | }, 34 | "plugins": [ 35 | "@typescript-eslint" 36 | ], 37 | "rules": { 38 | "@typescript-eslint/array-type": [ 39 | "error", 40 | { 41 | "default": "array" 42 | } 43 | ], 44 | "@typescript-eslint/ban-types": [ 45 | "error", 46 | { 47 | "types": { 48 | "Object": { 49 | "message": "Avoid using the `Object` type. Did you mean `object`?" 50 | }, 51 | "Function": { 52 | "message": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`." 53 | }, 54 | "Boolean": { 55 | "message": "Avoid using the `Boolean` type. Did you mean `boolean`?" 56 | }, 57 | "Number": { 58 | "message": "Avoid using the `Number` type. Did you mean `number`?" 59 | }, 60 | "String": { 61 | "message": "Avoid using the `String` type. Did you mean `string`?" 62 | }, 63 | "Symbol": { 64 | "message": "Avoid using the `Symbol` type. Did you mean `symbol`?" 65 | } 66 | } 67 | } 68 | ], 69 | "@typescript-eslint/interface-name-prefix": "off", 70 | "@typescript-eslint/no-explicit-any": "off", 71 | "@typescript-eslint/no-parameter-properties": "off", 72 | "@typescript-eslint/no-use-before-define": "off", 73 | "@typescript-eslint/prefer-for-of": "error", 74 | "@typescript-eslint/prefer-function-type": "error", 75 | "@typescript-eslint/no-unused-vars": "off", 76 | "@typescript-eslint/explicit-function-return-type": "off", 77 | "@typescript-eslint/triple-slash-reference": [ 78 | "error", 79 | { 80 | "path": "always", 81 | "types": "prefer-import", 82 | "lib": "always" 83 | } 84 | ], 85 | "@typescript-eslint/unified-signatures": "error", 86 | "camelcase": "error", 87 | "complexity": "off", 88 | "constructor-super": "error", 89 | "dot-notation": "error", 90 | "eqeqeq": [ 91 | "error", 92 | "smart" 93 | ], 94 | "guard-for-in": "error", 95 | "id-blacklist": [ 96 | "error", 97 | "any", 98 | "Number", 99 | "number", 100 | "String", 101 | "string", 102 | "Boolean", 103 | "boolean", 104 | "Undefined", 105 | "undefined" 106 | ], 107 | "id-match": "error", 108 | "import/order": "off", 109 | "max-classes-per-file": [ 110 | "error", 111 | 1 112 | ], 113 | "new-parens": "error", 114 | "no-bitwise": "error", 115 | "no-caller": "error", 116 | "no-cond-assign": "error", 117 | "no-console": "off", 118 | "no-debugger": "error", 119 | "no-empty": "error", 120 | "no-eval": "error", 121 | "no-fallthrough": "off", 122 | "no-invalid-this": "off", 123 | "no-new-wrappers": "error", 124 | "no-shadow": [ 125 | "error", 126 | { 127 | "hoist": "all" 128 | } 129 | ], 130 | "no-throw-literal": "error", 131 | "no-trailing-spaces": "error", 132 | "no-undef-init": "error", 133 | "no-underscore-dangle": "error", 134 | "no-unsafe-finally": "error", 135 | "no-unused-expressions": "error", 136 | "no-unused-labels": "error", 137 | "object-shorthand": "error", 138 | "one-var": [ 139 | "error", 140 | "never" 141 | ], 142 | "radix": "error", 143 | "spaced-comment": [ 144 | "error", 145 | "always", 146 | { 147 | "markers": [ 148 | "/" 149 | ] 150 | } 151 | ], 152 | "use-isnan": "error", 153 | "valid-typeof": "off" 154 | }, 155 | "settings": {} 156 | }; 157 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/* 2 | /dist/ 3 | /built/ -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- 1 | trailingComma: es5 2 | singleQuote: true 3 | printWidth: 120 4 | tabWidth: 2 5 | bracketSpacing: false 6 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "chrome", 9 | "request": "launch", 10 | "name": "Launch Chrome", 11 | "url": "http://localhost:8080", 12 | "webRoot": "${workspaceFolder}/src", 13 | "sourceMaps": true, 14 | "editor.tabSize": 2, 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | See [github.com/Tgemayel/variable-fonts-figma](https://github.com/Tgemayel/variable-fonts-figma) 2 | 3 | --------------------------------------------------------------------------------