Skip to content

Commit

Permalink
Merge 74b7d58 into 8947c58
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Sep 19, 2020
2 parents 8947c58 + 74b7d58 commit cdb1f6a
Show file tree
Hide file tree
Showing 36 changed files with 280 additions and 342 deletions.
56 changes: 0 additions & 56 deletions .eslintrc.js

This file was deleted.

55 changes: 55 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,55 @@
{
"env": {
"browser": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./src/**/tsconfig.json"],
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "jsdoc"],
"extends": ["plugin:jsdoc/recommended"],
"rules": {
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/interface-name-prefix": "error",
"@typescript-eslint/no-empty-function": "error",
"curly": "error",
"dot-notation": "error",
"no-caller": "error",
"no-console": [
"error",
{
"allow": ["debug", "info", "time", "timeEnd", "trace"]
}
],
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"no-debugger": "error",
"no-empty": "error",
"no-eval": "error",
"no-fallthrough": "error",
"no-new-wrappers": "error",
"no-unused-labels": "error",
"no-var": "error",
"prefer-const": "error",
"radix": "error",
"max-len": ["error", { "code": 140 }],
"semi": ["error", "always"],
"comma-dangle": ["error", "never"],
"no-trailing-spaces": "error",
"eqeqeq": ["error", "smart"],
"no-irregular-whitespace": "error",
"brace-style": ["error", "1tbs"],
"no-unused-expressions": ["error", { "allowTernary": true }],
"keyword-spacing": "error",
"jsdoc/require-param": 0,
"jsdoc/require-param-description": 0,
"jsdoc/require-param-type": 0,
"jsdoc/require-returns": 0,
"jsdoc/require-returns-type": 0,
"jsdoc/newline-after-description": 0,
"jsdoc/check-tag-names": ["error", { "definedTags": ["hidden", "internal", "source", "obsolete", "warning", "notimplemented", "credit", "typedoc"]}]
}
}

5 changes: 2 additions & 3 deletions .vscode/settings.json
Expand Up @@ -4,10 +4,9 @@
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"eslint.enable": true,
"eslint.options": { "configFile": "./.eslintrc.js" },
"eslint.options": { "configFile": "./.eslintrc.json" },
"eslint.alwaysShowStatus": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [{ "language": "typescript", "autoFix": true }],
"eslint.validate": ["typescript"],
"files.exclude": {
"**/.git": true,
".grunt/": true,
Expand Down
165 changes: 22 additions & 143 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -76,7 +76,6 @@
"@types/react-color": "3.0.4",
"@types/webpack-env": "1.15.2",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/eslint-plugin-tslint": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"babel-loader": "8.1.0",
"copy-webpack-plugin": "6.1.0",
Expand Down Expand Up @@ -111,7 +110,6 @@
"sync-request": "6.1.0",
"travis-ci": "2.2.0",
"ts-loader": "8.0.3",
"tslint": "6.1.3",
"typedoc": "0.19.0",
"typescript": "4.0.2",
"url-loader": "4.1.0",
Expand Down

0 comments on commit cdb1f6a

Please sign in to comment.