Reorganize meta files for ESLint packages (#10714)

* Move COC and CONTRIBUTING

* Add changelog links

* Reorganize gitignore and licenses
This commit is contained in:
Nicolò Ribaudo 2019-11-16 01:10:26 +01:00 committed by GitHub
parent 72eca8f0c2
commit d56911b88d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 65 deletions

View File

@ -9,6 +9,11 @@ assignees: ''
## Bug Report ## 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** **Current Behavior**
A clear and concise description of the behavior. A clear and concise description of the behavior.
@ -22,7 +27,9 @@ var your => (code) => here;
**Expected behavior/code** **Expected behavior/code**
A clear and concise description of what you expected to happen (or 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 ```js
{ {

4
.gitignore vendored
View File

@ -60,3 +60,7 @@ packages/babel-preset-env-standalone/babel-preset-env.min.js
/packages/babel-parser/build /packages/babel-parser/build
.idea/ .idea/
/.changelog /.changelog
/eslint/*/node_modules
/eslint/*/LICENSE
!/packages/babel-eslint-plugin/LICENSE

View File

@ -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 - 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 [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 --> <!-- DO NOT CHANGE THESE COMMENTS - See .github/actions/trigger-github-release/update-changelog.js -->
<!-- insert-new-changelog-here --> <!-- insert-new-changelog-here -->

View File

@ -1 +0,0 @@
node_modules

View File

@ -1,3 +0,0 @@
# Code of Conduct
This project shares the same code of conduct as [Babel](https://github.com/babel/babel), which can be found [here](https://github.com/babel/babel/blob/master/CODE_OF_CONDUCT.md).

View File

@ -1,11 +0,0 @@
# Contributing
Thanks for contributing!
If you're about to report an issue - please first check if it's already been reported in the [issues page](https://github.com/babel/babel-eslint/issues).
Also check to see if the latest versions of eslint/babel-eslint still produce the issue.
Also check out the [Known Issues](https://github.com/babel/babel-eslint#known-issues) section of the README.
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 to report that in eslint-plugin-babel instead.

View File

@ -1,22 +0,0 @@
Copyright (c) 2014-2016 Sebastian McKenzie <sebmck@gmail.com>
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,23 +0,0 @@
workflow "Build, Lint and Test" {
resolves = ["Test", "Lint"]
on = "push"
}
action "Build" {
uses = "docker://node:10"
runs = "yarn"
}
action "Test" {
needs = "Build"
uses = "docker://node:10"
runs = "yarn"
args = "test"
}
action "Lint" {
needs = "Build"
uses = "docker://node:10"
runs = "yarn"
args = "lint"
}

View File

@ -1 +0,0 @@
node_modules

View File

@ -1,3 +1,2 @@
tests/ tests/
.github/
.* .*

View File

@ -1 +0,0 @@
node_modules

View File

@ -1,3 +1,4 @@
echo "Cloning LICENSE to babel packages" echo "Cloning LICENSE to babel packages"
cat LICENSE cat LICENSE
ls -db ./packages/*/ | egrep -v '.*packages\/(babel-parser|babel-plugin-transform-object-assign)\/?$' | xargs -n 1 cp 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