-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use ESLint instead of TSLint * Use npm instead of gulp
- Loading branch information
1 parent
9ed96ac
commit 71871cd
Showing
17 changed files
with
1,696 additions
and
4,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
examples | ||
node_modules | ||
lib | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* Copyright (C) 2020 Michael Kourlas | ||
* | ||
* Licensed 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. | ||
*/ | ||
|
||
"use strict"; | ||
|
||
module.exports = { | ||
env: { | ||
node: true | ||
}, | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
plugins: [ | ||
'@typescript-eslint' | ||
], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended' | ||
], | ||
rules: { | ||
// Maximum line length of 80 | ||
'max-len': ['error', {'code': 80}], | ||
|
||
// Too late to change this, since interfaces are part of the public API | ||
'@typescript-eslint/interface-name-prefix': 0, | ||
|
||
// Too much noise | ||
'@typescript-eslint/explicit-function-return-type': 0, | ||
|
||
// Allow private functions at bottom of file | ||
'@typescript-eslint/no-use-before-define': 0, | ||
|
||
// Allow private constructors | ||
'@typescript-eslint/no-empty-function': ["error", | ||
{"allow": ["private-constructors"]}] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,5 @@ node_js: | |
- 8 | ||
- 10 | ||
install: | ||
- npm install -g gulp | ||
- npm install | ||
script: gulp | ||
script: npm run-script build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
js2xmlparser | ||
Copyright (C) 2016-2019 Michael Kourlas | ||
Copyright (C) 2016-2020 Michael Kourlas | ||
|
||
## Apache License, version 2.0 ## | ||
|
||
The following components are provided under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0): | ||
|
||
xmlcreate | ||
Copyright (C) 2016-2019 Michael Kourlas | ||
Copyright (C) 2016-2020 Michael Kourlas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.