forked from excalidraw/excalidraw
-
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.
Merge pull request #163 from excalidraw/master
merge code
- Loading branch information
Showing
225 changed files
with
25,150 additions
and
33,878 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
* | ||
!public/ | ||
!src/ | ||
!.npmrc | ||
!.env | ||
!.eslintrc.json | ||
!.npmrc | ||
!.prettierrc | ||
!package-lock.json | ||
!package.json | ||
!public/ | ||
!src/ | ||
!tsconfig.json | ||
!.env | ||
!yarn.lock |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ package-lock.json | |
.vscode/ | ||
firebase/ | ||
dist/ | ||
public/workbox |
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 |
---|---|---|
@@ -1,40 +1,6 @@ | ||
{ | ||
"extends": ["prettier", "react-app"], | ||
"plugins": ["prettier"], | ||
"extends": ["@excalidraw/eslint-config", "react-app"], | ||
"rules": { | ||
"curly": "warn", | ||
"dot-notation": "warn", | ||
"import/no-anonymous-default-export": "off", | ||
"no-console": [ | ||
"warn", | ||
{ | ||
"allow": ["warn", "error", "info"] | ||
} | ||
], | ||
"no-else-return": "warn", | ||
"no-lonely-if": "warn", | ||
"no-restricted-syntax": [ | ||
"warn", | ||
{ | ||
"message": "Use 't(...)' instead of literal text in JSX", | ||
"selector": "JSXText[value=/\\w/]" | ||
} | ||
], | ||
"no-unneeded-ternary": "warn", | ||
"no-unused-expressions": "warn", | ||
"no-unused-vars": "warn", | ||
"no-useless-return": "warn", | ||
"no-var": "warn", | ||
"object-shorthand": "warn", | ||
"one-var": ["warn", "never"], | ||
"prefer-arrow-callback": "warn", | ||
"prefer-const": [ | ||
"warn", | ||
{ | ||
"destructuring": "all" | ||
} | ||
], | ||
"prefer-template": "warn", | ||
"prettier/prettier": "warn" | ||
"import/no-anonymous-default-export": "off" | ||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,28 +1,22 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
on: pull_request | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
- name: Setup Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12.x | ||
node-version: 14.x | ||
|
||
- name: Install and lint | ||
run: | | ||
npm ci | ||
npm run test:other | ||
npm run test:code | ||
npm run test:typecheck | ||
env: | ||
CI: true | ||
yarn --frozen-lockfile | ||
yarn test:other | ||
yarn test:code | ||
yarn test:typecheck |
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 |
---|---|---|
@@ -1,26 +1,17 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
on: pull_request | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Setup Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12.x | ||
|
||
node-version: 14.x | ||
- name: Install and test | ||
run: | | ||
npm ci | ||
npm run test:app | ||
env: | ||
CI: true | ||
yarn --frozen-lockfile | ||
yarn test:app |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ firebase | |
logs | ||
node_modules | ||
npm-debug.log* | ||
package-lock.json | ||
static | ||
yarn-debug.log* | ||
yarn-error.log* | ||
yarn.lock |
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 |
---|---|---|
@@ -1 +1 @@ | ||
12 | ||
14 |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.