diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 446ae819..00000000 --- a/.babelrc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "presets": [ - [ - "@babel/preset-env", - { - "useBuiltIns": "usage", - "corejs": 3, - "modules": false, - "targets": "> 0.5%, last 2 versions, Firefox ESR, not dead" - } - ] - ], - "ignore": ["dist/*.js"], - "env": { - "test": { - "presets": [ - [ - "@babel/preset-env", - { - "useBuiltIns": "usage", - "corejs": 3, - "modules": "auto" - } - ] - ], - "plugins": ["rewire"], - "ignore": ["dist/*.js"] - } - } -} diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 9d08a1a8..00000000 --- a/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 0521e553..00000000 --- a/.eslintignore +++ /dev/null @@ -1,8 +0,0 @@ -dist -build -scripts -jest.browser.config.js -jest.node.config.js -examples -test -types \ No newline at end of file diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 9e66e846..00000000 --- a/.eslintrc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "root": true, - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 2018, - "sourceType": "module", - "ecmaFeatures": { - "experimentalObjectRestSpread": true, - "classes": true - } - }, - "env": { - "es6": true, - "node": true, - "browser": true, - "jest": true - }, - "plugins": ["babel", "import"], - "extends": ["eslint-config-airbnb-base"], - "globals": {}, - "rules": { - "no-console": ["warn"], - "no-useless-escape": 0, - "no-empty": 0, - "comma-dangle": 0, - "arrow-parens": ["error", "as-needed"], - "import/prefer-default-export": "off", - "import/no-cycle": "off", - "no-underscore-dangle": "off", - "no-bitwise": "off", - "no-mixed-operators": "off", - "max-len": ["error", { "code": 120 , "ignoreComments": true}], - "class-methods-use-this": "off", - "no-plusplus": "off", - "implicit-arrow-linebreak": "off", - "object-curly-newline": "off" - } -} diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md deleted file mode 100644 index 2df326c8..00000000 --- a/.github/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,76 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at "AElf Web"@noreply.github.com. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq diff --git a/.github/COMMIT_CONVENTION.md b/.github/COMMIT_CONVENTION.md deleted file mode 100644 index 381bf17b..00000000 --- a/.github/COMMIT_CONVENTION.md +++ /dev/null @@ -1,91 +0,0 @@ -## Git Commit Message Convention - -> This is adapted from [Angular's commit convention](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular). - -#### TL;DR: - -Messages must be matched by the following regex: - -``` js -/^(revert: )?(feat|fix|polish|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?: .{1,50}/ -``` - -#### Examples - -Appears under "Features" header, `compiler` subheader: - -``` -feat(compiler): add 'comments' option -``` - -Appears under "Bug Fixes" header, `v-model` subheader, with a link to issue #28: - -``` -fix(v-model): handle events on blur - -close #28 -``` - -Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation: - -``` -perf(core): improve vdom diffing by removing 'foo' option - -BREAKING CHANGE: The 'foo' option has been removed. -``` - -The following commit and commit `667ecc1` do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header. - -``` -revert: feat(compiler): add 'comments' option - -This reverts commit 667ecc1654a317a13331b17617d973392f415f02. -``` - -### Full Message Format - -A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**: - -``` -(): - - - -