Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,322 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// module.exports = { | ||
// parser: '@typescript-eslint/parser', // Specifies the ESLint parser | ||
// extends: [ | ||
|
||
// 'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react | ||
// 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin | ||
// 'plugin:prettier/recommended', // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. | ||
// ], | ||
// parserOptions: { | ||
// ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features | ||
// sourceType: 'module', // Allows for the use of imports | ||
// ecmaFeatures: { | ||
// jsx: true, // Allows for the parsing of JSX | ||
// }, | ||
// }, | ||
// rules: { | ||
// "@typescript-eslint/no-explicit-any":"warn", | ||
// "react/prop-types":0, | ||
// "@typescript-eslint/explicit-function-return-type":"warn" | ||
// // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs | ||
// // e.g. "@typescript-eslint/explicit-function-return-type": "off", | ||
// }, | ||
// settings: { | ||
// react: { | ||
// version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use | ||
// }, | ||
// }, | ||
// }; | ||
|
||
module.exports = { | ||
parser: '@typescript-eslint/parser', // Specifies the ESLint parser | ||
extends: [ | ||
'airbnb', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier', | ||
'prettier/react', | ||
'prettier/@typescript-eslint', | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features | ||
sourceType: 'module', // Allows for the use of imports | ||
ecmaFeatures: { | ||
jsx: true, // Allows for the parsing of JSX | ||
}, | ||
}, | ||
rules: { | ||
'import/no-unresolved': 0, | ||
'react/prop-types': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/no-explicit-any': 2, | ||
'react/display-name': 'off', | ||
'react/jsx-filename-extension': [1, { extensions: ['.jsx', '.tsx'] }], | ||
'react/jsx-props-no-spreading': 0, | ||
'operator-assignment': 0, | ||
}, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
semi: true, | ||
trailingComma: 'all', | ||
singleQuote: true, | ||
printWidth: 120, | ||
tabWidth: 2, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Graphin GraphScope | ||
|
||
Graphin Studio is the graph analysis workbench built with [@antv/graphin](https://github.com/antvis/graphin/tree/master/packages/graphin) and [@antv/graphin-components](https://github.com/antvis/graphin/tree/master/packages/graphin-components). It served as the main playground and DEMO for Graphin. | ||
|
||
### Run Graphin Studio | ||
|
||
```bash | ||
npm install // install repo deps | ||
|
||
npm run bootstrap // install package deps | ||
|
||
npm run start // start graphin and graphin-components | ||
|
||
npm run studio // start Graphin Studio, after npm run start is built | ||
``` | ||
|
||
### More Info | ||
|
||
Checkout [build from scratch doc](./build-from-scratch.md) if you want to build your own Graphin Studio. |
Oops, something went wrong.