Skip to content

Commit

Permalink
Merge pull request #154 from KaiVolland/json-schema
Browse files Browse the repository at this point in the history
Introduces generation of JSON Schema
  • Loading branch information
KaiVolland authored Mar 16, 2021
2 parents 7618e09 + a174298 commit 4565b0b
Show file tree
Hide file tree
Showing 4 changed files with 2,713 additions and 1,244 deletions.
146 changes: 9 additions & 137 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,139 +1,11 @@
module.exports = {
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
"rules": {
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/indent": [
"error",
2,
{
"CallExpression": {
"arguments": "first"
},
"FunctionDeclaration": {
"parameters": "first"
},
"FunctionExpression": {
"parameters": "first"
}
}
],
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/interface-name-prefix": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/member-ordering": "error",
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/quotes": [
"error",
"single"
],
"@typescript-eslint/semi": [
"error",
"always"
],
"@typescript-eslint/type-annotation-spacing": "error",
"camelcase": "error",
"comma-dangle": "off",
"curly": "error",
"default-case": "error",
"dot-notation": "error",
"eol-last": "error",
"eqeqeq": [
"error",
"smart"
],
"guard-for-in": "error",
"id-blacklist": [
"error",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined"
],
"id-match": "error",
"max-len": [
"error",
{
"code": 120
}
],
"no-bitwise": "error",
"no-caller": "error",
"no-console": [
"error",
{
"allow": [
"warn",
"dir",
"timeLog",
"assert",
"clear",
"count",
"countReset",
"group",
"groupEnd",
"table",
"dirxml",
"groupCollapsed",
"Console",
"profile",
"profileEnd",
"timeStamp",
"context"
]
}
],
"no-debugger": "error",
"no-empty": "error",
"no-eval": "error",
"no-fallthrough": "error",
"no-multiple-empty-lines": "error",
"no-new-wrappers": "error",
"no-redeclare": "error",
"no-shadow": [
"error",
{
"hoist": "all"
}
],
"no-trailing-spaces": "off",
"no-underscore-dangle": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"radix": "error",
"spaced-comment": "error"
}
extends: '@terrestris/eslint-config-typescript',
rules: {
camelcase: [
"off",
{
ignoreImports: true
}
]
}
};
Loading

0 comments on commit 4565b0b

Please sign in to comment.