RED-3800: update eslint
This commit is contained in:
parent
8bbf842218
commit
af7e8cc8f7
@ -40,14 +40,15 @@
|
||||
"files": ["*.ts"],
|
||||
"extends": [
|
||||
"plugin:@nrwl/nx/angular",
|
||||
"plugin:import/recommended",
|
||||
"airbnb-typescript/base",
|
||||
"eslint:recommended",
|
||||
"plugin:@angular-eslint/recommended",
|
||||
"plugin:@angular-eslint/recommended--extra",
|
||||
"plugin:@angular-eslint/template/process-inline-templates",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.base.json"
|
||||
},
|
||||
"rules": {
|
||||
"@angular-eslint/no-conflicting-lifecycle": "error",
|
||||
"@angular-eslint/no-host-metadata-property": "error",
|
||||
@ -137,9 +138,6 @@
|
||||
"guard-for-in": "error",
|
||||
"id-blacklist": "off",
|
||||
"id-match": "off",
|
||||
"import/prefer-default-export": "off",
|
||||
"import/no-deprecated": "warn",
|
||||
"import/no-extraneous-dependencies": "off",
|
||||
"no-bitwise": "error",
|
||||
"no-caller": "error",
|
||||
"no-console": "off",
|
||||
|
||||
@ -5,10 +5,7 @@
|
||||
{
|
||||
"files": ["**/*.ts"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"project": ["apps/red-ui/tsconfig.json"]
|
||||
},
|
||||
"extends": ["plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking"],
|
||||
"extends": ["plugin:@typescript-eslint/recommended"],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unsafe-return": "off",
|
||||
"@typescript-eslint/no-unsafe-assignment": "off",
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 7aff7aebcf825c621c1d83126673d4818d5326e1
|
||||
Subproject commit 85110b57fb1c78a0f535aed530d37c4d9140f224
|
||||
@ -4,9 +4,6 @@
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["**/*.ts"],
|
||||
"parserOptions": {
|
||||
"project": ["libs/iqser-cache/tsconfig.json"]
|
||||
},
|
||||
"rules": {
|
||||
"@angular-eslint/directive-selector": [
|
||||
"error",
|
||||
|
||||
@ -4,9 +4,6 @@
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts"],
|
||||
"parserOptions": {
|
||||
"project": ["libs/red-domain/tsconfig.json"]
|
||||
},
|
||||
"rules": {
|
||||
"@angular-eslint/directive-selector": [
|
||||
"error",
|
||||
|
||||
@ -85,10 +85,7 @@
|
||||
"axios": "^0.27.2",
|
||||
"dotenv": "16.0.1",
|
||||
"eslint": "8.17.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"google-translate-api-browser": "^1.1.71",
|
||||
"husky": "^8.0.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user