You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2020/05/21 01:51:35 UTC
[incubator-annotator] branch master updated (6e668f7 -> ac3b5bd)
This is an automated email from the ASF dual-hosted git repository.
randall pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.
from 6e668f7 Do not fix lint errors with yarn lint
new 2f7a7d3 Add license header to .eslintrc.js
new 2b8e8c2 Add license header to husky.config.js
new ac3b5bd Update .ratignore
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.eslintrc.js | 20 ++++++++++++++++++++
.ratignore | 4 +---
husky.config.js | 20 ++++++++++++++++++++
3 files changed, 41 insertions(+), 3 deletions(-)
[incubator-annotator] 02/03: Add license header to husky.config.js
Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 2b8e8c2a753d335d551e661cee6dd856747bcdfb
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed May 20 18:35:35 2020 -0700
Add license header to husky.config.js
---
husky.config.js | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/husky.config.js b/husky.config.js
index e4eb0ab..6db9eb8 100644
--- a/husky.config.js
+++ b/husky.config.js
@@ -1,3 +1,23 @@
+/**
+ * @license
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
module.exports = {
hooks: {
'pre-commit': 'lint-staged',
[incubator-annotator] 03/03: Update .ratignore
Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit ac3b5bd4b2793b8f01a12bcd328b6beb947069fc
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed May 20 18:35:46 2020 -0700
Update .ratignore
---
.ratignore | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.ratignore b/.ratignore
index d6b1e48..4926060 100644
--- a/.ratignore
+++ b/.ratignore
@@ -1,19 +1,17 @@
.asf.yaml
.editorconfig
.eslintignore
-.eslintrc.js
.gitignore
.lintstagedrc
.npmignore
-.nycrc
.ratignore
.travis.yml
lerna.json
node_modules
package.json
-rat_report.txt
repolinter.json
yarn.lock
CODE_OF_CONDUCT.md
+DISCLAIMER-WIP
README.md
SECURITY.md
[incubator-annotator] 01/03: Add license header to .eslintrc.js
Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 2f7a7d3227d47d180307a13207589e4721389b22
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed May 20 18:35:23 2020 -0700
Add license header to .eslintrc.js
---
.eslintrc.js | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.eslintrc.js b/.eslintrc.js
index 1e51508..3145648 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,3 +1,23 @@
+/**
+ * @license
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
const path = require('path');
const babel = require('@babel/core');