Skip to content

Commit

Permalink
Bump minor versions on core dependencies (#88)
Browse files Browse the repository at this point in the history
* Bumping major versions and migrate to eslint

* Capture and render errors

* Attempt to use new rl loadout setup

* Bump peer dependencies

* Set fallbacks

* Fix type definitions for material creator

* Bump minor version to 0.8.0

* Don't overwrite error icon color if not set

* do not replace material

Co-authored-by: Long Tran <lngtrn94@gmail.com>
  • Loading branch information
Abbondanzo and Longi94 committed Mar 20, 2020
1 parent a182ea6 commit 2d62bcd
Show file tree
Hide file tree
Showing 12 changed files with 2,911 additions and 1,226 deletions.
211 changes: 211 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
module.exports = {
"env": {
"browser": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/tslint"
],
"rules": {
"@typescript-eslint/adjacent-overload-signatures": "warn",
"@typescript-eslint/array-type": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/class-name-casing": "warn",
"@typescript-eslint/consistent-type-assertions": "warn",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/indent": "warn",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/member-delimiter-style": [
"warn",
{
"multiline": {
"delimiter": "none",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/member-ordering": "warn",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extraneous-class": "warn",
"@typescript-eslint/no-misused-new": "warn",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-require-imports": "warn",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/prefer-function-type": "warn",
"@typescript-eslint/prefer-namespace-keyword": "warn",
"@typescript-eslint/prefer-readonly": "warn",
"@typescript-eslint/quotes": [
"warn",
"double",
{
"avoidEscape": true
}
],
"@typescript-eslint/semi": [
"warn",
"never"
],
"@typescript-eslint/triple-slash-reference": "warn",
"@typescript-eslint/unified-signatures": "warn",
"arrow-body-style": "warn",
"arrow-parens": [
"off",
"as-needed"
],
"camelcase": "warn",
"comma-dangle": "off",
"complexity": "off",
"constructor-super": "warn",
"curly": "warn",
"dot-notation": "warn",
"eol-last": "warn",
"eqeqeq": [
"warn",
"smart"
],
"guard-for-in": "warn",
"id-blacklist": [
"warn",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined"
],
"id-match": "warn",
"import/no-default-export": "off",
"import/order": "warn",
"max-classes-per-file": [
"warn",
1
],
"max-len": [
"warn",
{
"code": 120
}
],
"new-parens": "warn",
"newline-per-chained-call": "off",
"no-bitwise": "warn",
"no-caller": "warn",
"no-cond-assign": "warn",
"no-console": "off",
"no-debugger": "warn",
"no-duplicate-imports": "warn",
"no-empty": "warn",
"no-eval": "warn",
"no-fallthrough": "off",
"no-invalid-this": "warn",
"no-multiple-empty-lines": "warn",
"no-new-wrappers": "warn",
"no-redeclare": "warn",
"no-shadow": [
"warn",
{
"hoist": "all"
}
],
"no-throw-literal": "warn",
"no-trailing-spaces": "warn",
"no-undef-init": "warn",
"no-underscore-dangle": "warn",
"no-unsafe-finally": "warn",
"no-unused-expressions": "warn",
"no-unused-labels": "warn",
"no-var": "warn",
"no-void": "warn",
"object-shorthand": "warn",
"one-var": [
"warn",
"never"
],
"prefer-arrow/prefer-arrow-functions": "warn",
"prefer-const": "warn",
"quote-props": "off",
"radix": "warn",
"space-before-function-paren": [
"warn",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"spaced-comment": "warn",
"use-isnan": "warn",
"valid-typeof": "off",
"@typescript-eslint/tslint/config": [
"error",
{
"rules": {
"jsdoc-format": true,
"jsx-curly-spacing": [
true,
"never"
],
"jsx-equals-spacing": [
true,
"never"
],
"jsx-key": true,
"jsx-no-bind": true,
"jsx-no-string-ref": true,
"jsx-self-close": true,
"jsx-wrap-multiline": true,
"no-reference-import": true,
"one-line": [
true,
"check-catch",
"check-else",
"check-finally",
"check-open-brace",
"check-whitespace"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
]
}
}
]
}
};
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Editor
.*
*.iml

# NPM
Expand Down
Loading

0 comments on commit 2d62bcd

Please sign in to comment.