This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAT-1568: Added fieldInfo to generated models
Switched from tslint to eslint Created interface types for the manually created cqm models Eliminated "any" type usage
- Loading branch information
Andrew Bird
committed
Oct 29, 2020
1 parent
aaec723
commit 664c7ca
Showing
980 changed files
with
27,246 additions
and
2,112 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 @@ | ||
dist | ||
node_modules | ||
coverage | ||
.eslintrc.js |
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,56 @@ | ||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ["./tsconfig.json"], | ||
}, | ||
plugins: ["@typescript-eslint", "eslint-comments", "jest", "promise"], | ||
extends: [ | ||
"airbnb-typescript/base", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:eslint-comments/recommended", | ||
"plugin:jest/recommended", | ||
"plugin:promise/recommended", | ||
"prettier", | ||
"prettier/@typescript-eslint", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
], | ||
env: { | ||
node: true, | ||
browser: true, | ||
jest: true, | ||
}, | ||
rules: { | ||
// note you must disable the base rule as it can report incorrect errors | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": ["error"], | ||
"no-underscore-dangle": "off", | ||
"lines-between-class-members": ["warn", "always"], | ||
"@typescript-eslint/explicit-function-return-type": ["error"], | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ selector: "typeLike", format: ["PascalCase"] }, | ||
{ selector: "enumMember", format: ["PascalCase"] }, | ||
{ selector: "variableLike", format: ["camelCase"] }, | ||
{ | ||
selector: "interface", | ||
format: ["PascalCase"], | ||
custom: { | ||
regex: "^I[A-Z]", | ||
match: false, | ||
}, | ||
}, | ||
{ | ||
selector: "typeAlias", | ||
format: ["PascalCase"], | ||
custom: { | ||
regex: "^I[A-Z]", | ||
match: false, | ||
}, | ||
}, | ||
], | ||
"class-methods-use-this": "off", | ||
"jest/no-conditional-expect": "off" | ||
}, | ||
}; |
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,3 @@ | ||
node_modules | ||
dist | ||
coverage |
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
Oops, something went wrong.