Skip to content

Commit

Permalink
Merge pull request #3 from microsoft/addTests
Browse files Browse the repository at this point in the history
Add tests and pipeline
  • Loading branch information
DonJayamanne committed Sep 14, 2023
2 parents 6e2c206 + 8081b2a commit 26eb71b
Show file tree
Hide file tree
Showing 12 changed files with 1,670 additions and 953 deletions.
24 changes: 2 additions & 22 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ module.exports = {
ignorePatterns: ['*.js', 'vscode.*.d.ts', 'vscode.d.ts', 'types'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: [
'tsconfig.json'
],
project: ['tsconfig.json'],
sourceType: 'module'
},
plugins: [
Expand All @@ -21,7 +19,6 @@ module.exports = {
'eslint-plugin-react',
'@typescript-eslint',
'@typescript-eslint/tslint',
'eslint-plugin-local-rules',
'no-only-tests',
'header'
],
Expand All @@ -46,12 +43,7 @@ module.exports = {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '_\\w*' }],
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': [
'error',
{
functions: false
}
],
'@typescript-eslint/no-use-before-define': 'off',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/no-var-requires': 'off',
Expand Down Expand Up @@ -111,19 +103,7 @@ module.exports = {
}
],
'operator-assignment': 'off',
'react/jsx-filename-extension': [
1,
{
extensions: ['.tsx']
}
],
'react/jsx-uses-vars': 'error',
'react/jsx-uses-react': 'error',
'no-restricted-imports': ['error', { paths: ['lodash', 'rxjs', 'lodash/noop', 'rxjs/util/noop'] }],
'local-rules/node-imports': ['error', { allow: ['events'] }],
'local-rules/dont-use-process': ['error'],
'local-rules/dont-use-fspath': ['error'],
'local-rules/dont-use-filename': ['error'],
strict: 'off',
'header/header': [
'error',
Expand Down
Loading

0 comments on commit 26eb71b

Please sign in to comment.