-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be22a45
commit 19954b1
Showing
438 changed files
with
19,903 additions
and
5,917 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 |
---|---|---|
@@ -1,31 +1,74 @@ | ||
{ | ||
"root": true, | ||
"parser": "babel-eslint", | ||
"extends": ["airbnb-base", "prettier", "plugin:import/errors", "plugin:import/warnings"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:jsdoc/recommended", | ||
"prettier", | ||
"prettier/@typescript-eslint" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint", "prettier", "jsdoc"], | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"rules": { | ||
"jsdoc/newline-after-description": "off", | ||
"jsdoc/require-property-description": "off", | ||
"jsdoc/require-param-description": "off", | ||
"jsdoc/require-returns": "off", | ||
"jsdoc/no-undefined-types": "off", | ||
"jsdoc/require-returns-type": "off", | ||
"prettier/prettier": "error", | ||
"import/prefer-default-export": "off", | ||
"import/no-extraneous-dependencies": [ | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"devDependencies": true, | ||
"optionalDependencies": true | ||
"format": ["PascalCase"], | ||
"selector": "typeLike", | ||
"custom": { | ||
"regex": "^I[A-Z]", | ||
"match": false | ||
} | ||
} | ||
], | ||
"linebreak-style": ["error", "windows"], | ||
"arrow-body-style": ["warn", "as-needed"], | ||
"arrow-parens": ["error", "always"], | ||
"no-unused-vars": [ | ||
"@typescript-eslint/member-ordering": "error", | ||
"no-use-before-define": "off", | ||
"@typescript-eslint/no-use-before-define": [ | ||
"error", | ||
{ | ||
"args": "none" | ||
} | ||
{ "functions": false, "variables": false } | ||
], | ||
"radix": ["error", "as-needed"], | ||
"prefer-destructuring": "off" | ||
}, | ||
"plugins": ["import", "prettier"], | ||
"settings": { | ||
"import/ignore": ["node_modules", ".png$", ".jpg$"] | ||
"@typescript-eslint/typedef": "error", | ||
"@typescript-eslint/type-annotation-spacing": "error", | ||
"@typescript-eslint/semi": "error", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"no-useless-escape": "off", | ||
"spaced-comment": "error", | ||
"curly": ["error", "multi-line"], | ||
"eol-last": ["error", "always"], | ||
"guard-for-in": "error", | ||
"no-unused-labels": "error", | ||
"no-caller": "error", | ||
"no-bitwise": "error", | ||
"no-multiple-empty-lines": "error", | ||
"no-new-wrappers": "error", | ||
"no-eval": "error", | ||
"dot-notation": "error", | ||
"no-trailing-spaces": "error", | ||
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }], | ||
"brace-style": "error", | ||
"quotes": ["error", "single"], | ||
"radix": "error", | ||
"default-case": "error", | ||
"eqeqeq": "error", | ||
"jsx-quotes": ["error", "prefer-double"] | ||
} | ||
} |
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,9 @@ | ||
--- | ||
name: "16.0" | ||
routeTemplate: ./data/component-templates/full-page.yml | ||
title: Upgrading to JSS 16.0 | ||
--- | ||
|
||
### Upgrading from JSS 15.0 to JSS 16.0 | ||
|
||
1. Check usages of `any` type (and fix any build/lint errors) as we start to migrate from `any` to `unknown` or more specific types |
Oops, something went wrong.