Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

WIP - updated some dependencies #1024

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "react"],
"extends": [
"plugin:@typescript-eslint/recommended",
"react-app",
"react-app/jest"
],
"rules": {
"quotes": ["off", "double"],
"@typescript-eslint/indent": [
"off",
2
],
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-parameter-properties": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,

"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-implied-eval": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-regexp-exec": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-inferrable-types": "off",

"no-extend-native":"off",
"no-multi-str": "off",
"no-template-curly-in-string": "off",
"no-async-promise-executor": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
"prefer-const": "off",
"prefer-spread": "off",
"react/no-find-dom-node": "off",
"react/prop-types": "off",
"react/jsx-no-target-blank": "off",
"react/jsx-no-comment-textnodes": "off",
"import/first": "off",
"getter-return":"off",
"dot-location": "off",
"no-new-func": "off",

"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/alt-text": "off",

"jest/no-identical-title": "off",
"jest/valid-expect": "off",
"jest/no-jasmine-globals": "off",
"jest/no-conditional-expect": "off",
"jest/valid-describe": "off"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ VoTT is available for Windows, Linux and OSX. Download the appropriate platform

### Build and run from source

VoTT requires [NodeJS (>= 10.x, Dubnium) and NPM](https://github.com/nodejs/Release)
VoTT requires [NodeJS (>= 12.x, Dubnium) and NPM](https://github.com/nodejs/Release)

```bash
git clone https://github.com/Microsoft/VoTT.git
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/linux/continuous-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:

- task: NodeTool@0
inputs:
versionSpec: '10.x'
versionSpec: '12.x'
displayName: 'Install Node.js'

- bash: |
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/mac/continuous-build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
versionSpec: '12.x'
displayName: 'Install Node.js'

- bash: |
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines/templates/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
- template: git-pull-current-branch.yml

- task: NodeTool@0
displayName: 'Use Node 10.x'
displayName: 'Use Node 12.x'
inputs:
versionSpec: 10.x
versionSpec: 12.x

- bash: |
set -ex
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines/templates/create-web-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
- template: git-pull-current-branch.yml

- task: NodeTool@0
displayName: 'Use Node 10.x'
displayName: 'Use Node 12.x'
inputs:
versionSpec: 10.x
versionSpec: 12.x

- task: Npm@1
displayName: 'npm ci'
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/templates/npm-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: 10.x
versionSpec: 12.x
displayName: 'Install Node.js'

# Download secure file
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines/upload-plato-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ steps:
displayName: "Verify storage account cred exists"

- task: NodeTool@0
displayName: "Use Node 10.x"
displayName: "Use Node 12.x"
inputs:
versionSpec: 10.x
versionSpec: 12.x

- task: Npm@1
displayName: 'Run `npm ci`'
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines/windows/continuous-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
versionSpec: '12.x'
displayName: 'Install Node.js'

- bash: |
- bash: |
set -e

export DISPLAY=:99.0

npm ci # do a clean install
Expand Down
Loading