Skip to content

Commit

Permalink
Reorganize meta files for ESLint packages (babel#10714)
Browse files Browse the repository at this point in the history
* Move COC and CONTRIBUTING

* Add changelog links

* Reorganize gitignore and licenses
  • Loading branch information
nicolo-ribaudo authored Nov 16, 2019
1 parent 72eca8f commit d56911b
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 65 deletions.
9 changes: 8 additions & 1 deletion .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ assignees: ''

## Bug Report

<!--
@babel/eslint-parser:
If you are having issues with JSX you might want to check out eslint-plugin-react. If there's an issue with new experimental syntax you might need check if it's supported by @babel/eslint-plugin.
-->

**Current Behavior**
A clear and concise description of the behavior.

Expand All @@ -22,7 +27,9 @@ var your => (code) => here;
**Expected behavior/code**
A clear and concise description of what you expected to happen (or code).

**Babel Configuration (.babelrc, package.json, cli command)**
**Babel Configuration (.babelrc, package.json, cli command, .eslintrc)**

- Filename: `babel.config.js`

```js
{
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ packages/babel-preset-env-standalone/babel-preset-env.min.js
/packages/babel-parser/build
.idea/
/.changelog

/eslint/*/node_modules
/eslint/*/LICENSE
!/packages/babel-eslint-plugin/LICENSE
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ _Note: Gaps between patch versions are faulty, broken or test releases._

See [CHANGELOG - v4](/.github/CHANGELOG-v4.md), [CHANGELOG - v5](/.github/CHANGELOG-v5.md), and [CHANGELOG - v6](/.github/CHANGELOG-v6.md) for v4.x-v6.x changes.
See [CHANGELOG - 6to5](/.github/CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
See [Babylon's CHANGELOG](packages/babylon/CHANGELOG.md) for the Babylon pre-7.0.0-beta.29 version changelog.
See [Babylon's CHANGELOG](packages/babel-parser/CHANGELOG.md) for the Babylon pre-7.0.0-beta.29 version changelog.
See [`babel-eslint`'s releases](https://github.com/babel/babel-eslint/releases) for the changelog before `@babel/eslint-parser` 7.8.0.
See [`eslint-plugin-babel`'s releases](https://github.com/babel/eslint-plugin-babel/releases) for the changelog before `@babel/eslint-plugin` 7.8.0.

<!-- DO NOT CHANGE THESE COMMENTS - See .github/actions/trigger-github-release/update-changelog.js -->
<!-- insert-new-changelog-here -->
Expand Down
1 change: 0 additions & 1 deletion eslint/babel-eslint-config-internal/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions eslint/babel-eslint-parser/CODE_OF_CONDUCT.md

This file was deleted.

11 changes: 0 additions & 11 deletions eslint/babel-eslint-parser/CONTRIBUTING.md

This file was deleted.

22 changes: 0 additions & 22 deletions eslint/babel-eslint-parser/LICENSE

This file was deleted.

23 changes: 0 additions & 23 deletions eslint/babel-eslint-plugin-development/.github/main.workflow

This file was deleted.

1 change: 0 additions & 1 deletion eslint/babel-eslint-plugin-development/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion eslint/babel-eslint-plugin-development/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
tests/
.github/
.*
1 change: 0 additions & 1 deletion eslint/babel-eslint-plugin/.gitignore

This file was deleted.

1 change: 1 addition & 0 deletions scripts/clone-license.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
echo "Cloning LICENSE to babel packages"
cat LICENSE
ls -db ./packages/*/ | egrep -v '.*packages\/(babel-parser|babel-plugin-transform-object-assign)\/?$' | xargs -n 1 cp LICENSE
ls -db ./eslint/*/ | egrep -v '.*eslint\/(babel-eslint-plugin)\/?$' | xargs -n 1 cp LICENSE

0 comments on commit d56911b

Please sign in to comment.