Reorganize meta files for ESLint packages (#10714)
* Move COC and CONTRIBUTING * Add changelog links * Reorganize gitignore and licenses
This commit is contained in:
parent
72eca8f0c2
commit
d56911b88d
9
.github/ISSUE_TEMPLATE/Bug_report.md
vendored
9
.github/ISSUE_TEMPLATE/Bug_report.md
vendored
@ -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.
|
||||
|
||||
@ -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
|
||||
{
|
||||
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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 -->
|
||||
|
||||
@ -1 +0,0 @@
|
||||
node_modules
|
||||
@ -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).
|
||||
@ -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.
|
||||
@ -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.
|
||||
@ -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"
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
node_modules
|
||||
@ -1,3 +1,2 @@
|
||||
tests/
|
||||
.github/
|
||||
.*
|
||||
1
eslint/babel-eslint-plugin/.gitignore
vendored
1
eslint/babel-eslint-plugin/.gitignore
vendored
@ -1 +0,0 @@
|
||||
node_modules
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user