Skip to content

Commit 1dbe1b5

Browse files
committed
Add figma plugin
1 parent 58640e3 commit 1dbe1b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+13946
-9530
lines changed

.gitignore

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
1-
*.log
2-
.DS_Store
1+
# dependencies
32
node_modules
4-
dist
3+
.pnp
4+
.pnp.js
5+
6+
# testing
7+
coverage
8+
9+
# next.js
10+
.next/
11+
out/
12+
build
13+
14+
# misc
15+
.DS_Store
16+
*.pem
17+
18+
# debug
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
.pnpm-debug.log*
23+
24+
# local env files
25+
.env.local
26+
.env.development.local
27+
.env.test.local
28+
.env.production.local
29+
30+
# turbo
31+
.turbo
32+
33+
#parcel
34+
.parcel-cache
35+
36+
# build
37+
dist/

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
npm run lint

.prettierrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"singleQuote": true,
3+
"tabWidth": 2,
4+
"trailingComma": "es5",
5+
"useTabs": false,
6+
"semi": false,
7+
"quoteProps": "consistent"
8+
}

config/eslint-config-base/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
extends: ['next'],
3+
rules: {
4+
'@next/next/no-html-link-for-pages': 'off',
5+
'react/jsx-key': 'off',
6+
'@next/next/no-img-element': 'off',
7+
},
8+
settings: {
9+
react: {
10+
version: 'detect',
11+
},
12+
},
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "eslint-config-base",
3+
"version": "0.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC"
12+
}

config/tsconfig/base.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"lib": ["esnext"],
4+
"composite": false,
5+
"declaration": true,
6+
"declarationMap": true,
7+
"esModuleInterop": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"inlineSources": false,
10+
"isolatedModules": true,
11+
"moduleResolution": "node",
12+
"noUnusedLocals": false,
13+
"noUnusedParameters": false,
14+
"preserveWatchOutput": true,
15+
"skipLibCheck": true,
16+
"strict": true
17+
},
18+
"exclude": ["node_modules"]
19+
}

config/tsconfig/nextjs.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"extends": "./base.json",
3+
"compilerOptions": {
4+
"target": "es5",
5+
"lib": ["dom", "dom.iterable", "esnext"],
6+
"allowJs": true,
7+
"skipLibCheck": true,
8+
"strict": true,
9+
"forceConsistentCasingInFileNames": true,
10+
"noEmit": true,
11+
"incremental": true,
12+
"esModuleInterop": true,
13+
"module": "esnext",
14+
"resolveJsonModule": true,
15+
"isolatedModules": true,
16+
"jsx": "preserve"
17+
},
18+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
19+
}
20+

config/tsconfig/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "tsconfig",
3+
"version": "0.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"files": [
10+
"base.json",
11+
"nextjs.json"
12+
],
13+
"keywords": [],
14+
"author": "",
15+
"license": "ISC"
16+
}

example/.gitignore

Lines changed: 0 additions & 34 deletions
This file was deleted.

example/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)