Remove ESLint from Account Console v2 (#24743)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
76a109f981
commit
cd8c562052
4 changed files with 4 additions and 1498 deletions
|
@ -1,21 +0,0 @@
|
|||
/** @type {import('eslint').Linter.Config } */
|
||||
module.exports = {
|
||||
extends: [
|
||||
'react-app',
|
||||
'plugin:jsx-a11y/recommended',
|
||||
'plugin:react/recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
],
|
||||
settings: {
|
||||
react: {
|
||||
version: '16',
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
'@typescript-eslint/ban-types': 'warn',
|
||||
'@typescript-eslint/no-empty-interface': 'warn',
|
||||
'@typescript-eslint/no-extra-semi': 'warn',
|
||||
'prefer-const': 'warn',
|
||||
'react/prop-types': 'warn',
|
||||
}
|
||||
};
|
|
@ -1,7 +0,0 @@
|
|||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\eslint\bin\eslint.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\eslint\bin\eslint.js" %*
|
||||
)
|
|
@ -8,7 +8,6 @@
|
|||
"babel:watch": "pnpm run babel -- --watch",
|
||||
"check-types": "tsc --noImplicitAny --strictNullChecks --jsx react -p ./",
|
||||
"check-types:watch": "pnpm run check-types -- -w",
|
||||
"lint": "eslint ./app/**/*.ts*",
|
||||
"move-web_modules": "shx mv web_modules ../../../keycloak/common/resources",
|
||||
"copy-pf-resources": "pnpm run move-app-css && pnpm run copy-base-css && pnpm run copy-fonts && pnpm run copy-pficon && pnpm run copy-addons",
|
||||
"move-app-css": "shx mkdir -p ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles && shx mv app.css ../../../keycloak/common/resources/web_modules/@patternfly/react-core/dist/styles",
|
||||
|
@ -41,13 +40,7 @@
|
|||
"@types/react": "^16.9.23",
|
||||
"@types/react-dom": "^16.9.5",
|
||||
"@types/react-router-dom": "^4.3.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
||||
"@typescript-eslint/parser": "^5.30.7",
|
||||
"chokidar": "^3.5.3",
|
||||
"eslint": "^8.20.0",
|
||||
"eslint-config-react-app": "^7.0.1",
|
||||
"eslint-plugin-jsx-a11y": "^6.6.1",
|
||||
"eslint-plugin-react": "^7.30.1",
|
||||
"rollup-plugin-postcss": "^2.5.0",
|
||||
"shx": "^0.3.4",
|
||||
"snowpack": "^1.7.1",
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue