diff --git a/.eslintrc.yml b/.eslintrc.yml index e7855b8f..65ce722c 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -4,3 +4,6 @@ globals: shallow: readonly render: 'readonly' mount: 'readonly' +rules: + # We are transforming the imports in babel, so we don't need to enforce this rule + rulesdir/forbid-pf-relative-imports: 'off' \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d201a690..900ae343 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "@babel/plugin-transform-runtime": "7.22.10", "@babel/preset-env": "7.22.10", "@babel/preset-react": "7.22.5", - "@redhat-cloud-services/eslint-config-redhat-cloud-services": "^1.3.0", + "@redhat-cloud-services/eslint-config-redhat-cloud-services": "^2.0.4", "@redhat-cloud-services/frontend-components-config": "6.0.12", "@redhat-cloud-services/tsc-transform-imports": "^1.0.11", "@testing-library/dom": "9.3.3", @@ -3347,9 +3347,9 @@ "dev": true }, "node_modules/@redhat-cloud-services/eslint-config-redhat-cloud-services": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@redhat-cloud-services/eslint-config-redhat-cloud-services/-/eslint-config-redhat-cloud-services-1.3.0.tgz", - "integrity": "sha512-/ceH7UeLMN+AoFdPDN0PeNgufiUKivU7wJ8ypqXINV1fKDVQf71mn48RjkdDCZ12/QHItHwaXFVpdnktBvRYHQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@redhat-cloud-services/eslint-config-redhat-cloud-services/-/eslint-config-redhat-cloud-services-2.0.4.tgz", + "integrity": "sha512-FvcLPlPudp00z4zQdYDRE1bMUXtteCtzQVpWFyatO8eZb1cwJuyLA+Vp+gbrTFmIjdxh0dVgOzSPVgAbb4vZMg==", "dev": true, "dependencies": { "@babel/eslint-parser": "^7.19.1", @@ -22485,9 +22485,9 @@ "dev": true }, "@redhat-cloud-services/eslint-config-redhat-cloud-services": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@redhat-cloud-services/eslint-config-redhat-cloud-services/-/eslint-config-redhat-cloud-services-1.3.0.tgz", - "integrity": "sha512-/ceH7UeLMN+AoFdPDN0PeNgufiUKivU7wJ8ypqXINV1fKDVQf71mn48RjkdDCZ12/QHItHwaXFVpdnktBvRYHQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@redhat-cloud-services/eslint-config-redhat-cloud-services/-/eslint-config-redhat-cloud-services-2.0.4.tgz", + "integrity": "sha512-FvcLPlPudp00z4zQdYDRE1bMUXtteCtzQVpWFyatO8eZb1cwJuyLA+Vp+gbrTFmIjdxh0dVgOzSPVgAbb4vZMg==", "dev": true, "requires": { "@babel/eslint-parser": "^7.19.1", diff --git a/package.json b/package.json index b66a797d..da6debe9 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/plugin-transform-runtime": "7.22.10", "@babel/preset-env": "7.22.10", "@babel/preset-react": "7.22.5", - "@redhat-cloud-services/eslint-config-redhat-cloud-services": "^1.3.0", + "@redhat-cloud-services/eslint-config-redhat-cloud-services": "^2.0.4", "@redhat-cloud-services/frontend-components-config": "6.0.12", "@redhat-cloud-services/tsc-transform-imports": "^1.0.11", "@testing-library/dom": "9.3.3",