-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo fork form https://github.com/mdnice/markdown-nice reset HEAD to master 0c04c91b9c2aa3f67583479beb3ac71c19a44b56
- Loading branch information
0 parents
commit 8f5205c
Showing
199 changed files
with
33,216 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,5 @@ | ||
/config/ | ||
/scripts/ | ||
*.test.* | ||
/main.js | ||
*.d.ts |
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,62 @@ | ||
{ | ||
"extends": ["airbnb", "plugin:prettier/recommended"], // eslint扩展规则 | ||
"parserOptions": { | ||
"ecmaVersion": 7, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"parser": "babel-eslint", // 解决ES6 improt会报错 | ||
"env": { | ||
// eg如果不配置browser,window就会被eslint报undefined的错 | ||
"es6": true, | ||
"browser": true, | ||
"node": true | ||
}, | ||
"plugins": ["react", "jsx-a11y", "import"], | ||
"rules": { | ||
"quotes": [0, "double"], | ||
"class-methods-use-this": 0, | ||
"import/no-named-as-default": 0, | ||
"react/jsx-filename-extension": [ | ||
"error", | ||
{ | ||
"extensions": [".js", ".jsx"] | ||
} | ||
], | ||
"react/prop-types": 0, | ||
"react/destructuring-assignment": 0, | ||
"react/no-array-index-key": 0, | ||
"no-use-before-define": 0, | ||
"no-restricted-syntax": 0, | ||
"no-var": 0, | ||
"vars-on-top": 0, | ||
"no-plusplus": 0, | ||
"no-continue": 0, | ||
"prefer-template": 0, | ||
"object-shorthand": 0, | ||
"no-else-return": 0, | ||
"no-param-reassign": 0, | ||
"no-unused-vars": 1, | ||
"jsx-a11y/anchor-is-valid": 0, | ||
"react/jsx-props-no-spreading": 0, | ||
"import/no-extraneous-dependencies": 0, | ||
"import/order": 0, | ||
"jsx-a11y/mouse-events-have-key-events": 0, | ||
"no-lonely-if": 0, | ||
"one-var": 0, | ||
"react/prefer-stateless-function": 0, | ||
"react/jsx-wrap-multilines": 0, | ||
"no-unused-expressions": 0, | ||
"react/no-danger": 0, | ||
"no-console": 0, | ||
"camelcase": 0, | ||
"import/no-dynamic-require": 1, | ||
"global-require": 1, | ||
"react/forbid-prop-types": 1, | ||
"jsx-a11y/accessible-emoji": 0, | ||
"jsx-a11y/click-events-have-key-events": 0, | ||
"jsx-a11y/no-static-element-interactions": 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,28 @@ | ||
--- | ||
name: 提交 Bug | ||
about: 提交 Bug 用于改进本项目 | ||
title: '' | ||
labels: bug | ||
assignees: guanpengchn | ||
|
||
--- | ||
|
||
**运行环境:** | ||
|
||
|操作系统|浏览器| | ||
|---|---| | ||
|macOS|Chrome| | ||
|
||
**Markdown文本内容:** | ||
|
||
例如: | ||
|
||
```md | ||
- 默认文本1 | ||
- 默认文本2 | ||
- 默认文本3 | ||
``` | ||
|
||
**错误详情:** | ||
|
||
例如:块级公式转换错误,控制台报错A is undefined |
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,10 @@ | ||
--- | ||
name: 新特性 | ||
about: 有新特性的需要 | ||
title: '' | ||
labels: feature | ||
assignees: guanpengchn | ||
|
||
--- | ||
|
||
**新特性描述:** |
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,27 @@ | ||
# 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* | ||
|
||
dist | ||
package-lock.json | ||
lib |
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,16 @@ | ||
build | ||
config | ||
dist | ||
node_modules | ||
public | ||
scripts | ||
src | ||
.eslintrc | ||
.gitignore | ||
.prettierrc | ||
logo.png | ||
main.js | ||
package.json | ||
package-lock.json | ||
yarn.lock | ||
.npmignore |
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,12 @@ | ||
{ | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": false, | ||
"jsxSingleQuote": false, | ||
"trailingComma": "all", | ||
"bracketSpacing": false, | ||
"jsxBracketSameLine": false, | ||
"arrowParens": "always" | ||
} |
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,6 @@ | ||
{ | ||
"presets": [ | ||
"@babel/env", | ||
"@babel/preset-react" | ||
] | ||
} |
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,8 @@ | ||
import { configure } from '@storybook/react'; | ||
|
||
function loadStories() { | ||
require('../stories/index.js'); | ||
// You can require as many stories as you need. | ||
} | ||
|
||
configure(loadStories, module); |
Oops, something went wrong.