Commit dc80d306 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Revert "Merge branch 'vs/add-fe-graphql-apollo-lint' into 'master'"

This reverts commit aec8fc7a, reversing
changes made to ec9a1f48.
parent 07d35443
...@@ -119,7 +119,6 @@ overrides: ...@@ -119,7 +119,6 @@ overrides:
- '@graphql-eslint' - '@graphql-eslint'
parserOptions: parserOptions:
parser: '@graphql-eslint/eslint-plugin' parser: '@graphql-eslint/eslint-plugin'
schema: './tmp/tests/graphql/gitlab_schema_apollo.graphql'
operations: operations:
- '{,ee/,jh/}app/**/*.graphql' - '{,ee/,jh/}app/**/*.graphql'
# You can run `bundle exec rake gitlab:graphql:schema:dump` and then uncomment this line # You can run `bundle exec rake gitlab:graphql:schema:dump` and then uncomment this line
......
...@@ -95,7 +95,7 @@ jsdoc/ ...@@ -95,7 +95,7 @@ jsdoc/
webpack-dev-server.json webpack-dev-server.json
/.nvimrc /.nvimrc
.solargraph.yml .solargraph.yml
./apollo.config.js apollo.config.js
/tmp/matching_foss_tests.txt /tmp/matching_foss_tests.txt
/tmp/matching_tests.txt /tmp/matching_tests.txt
ee/changelogs/unreleased-ee ee/changelogs/unreleased-ee
......
...@@ -51,18 +51,13 @@ eslint: ...@@ -51,18 +51,13 @@ eslint:
extends: extends:
- .static-analysis-base - .static-analysis-base
- .yarn-cache - .yarn-cache
- .frontend:rules:default-frontend-jobs - .static-analysis:rules:ee
needs: ['graphql-schema-dump'] needs: []
variables: variables:
USE_BUNDLE_INSTALL: "false" USE_BUNDLE_INSTALL: "false"
script: script:
- run_timed_command "retry yarn install --frozen-lockfile" - run_timed_command "retry yarn install --frozen-lockfile"
- yarn run apollo client:download-schema --config=config/apollo.config.js tmp/tests/graphql/gitlab_schema_apollo.graphql
- run_timed_command "yarn run lint:eslint:all" - run_timed_command "yarn run lint:eslint:all"
artifacts:
name: graphql-schema-apollo
paths:
- tmp/tests/graphql/gitlab_schema_apollo.graphql
eslint as-if-foss: eslint as-if-foss:
extends: extends:
......
module.exports = {
client: {
service: {
name: 'gitlab',
localSchemaFile: './tmp/tests/graphql/gitlab_schema.graphql',
},
includes: ['../{ee/,jh/,}app/assets/javascripts/**/*.{js,graphql}'],
excludes: ['../{ee/,jh/,}spec/{frontend,frontend_integration}/**/*'],
},
};
...@@ -362,9 +362,3 @@ ...@@ -362,9 +362,3 @@
- - :approve - - :approve
- 0.0.62 - 0.0.62
- *2 - *2
- - :approve
- sha.js
- :who: Vitaly Slobodin
:why: Dual license BSD-3-Clause and MIT. See https://gitlab.com/gitlab-com/legal-and-compliance/-/issues/686
:versions: []
:when: 2021-11-12 18:08:27.036400090 Z
...@@ -209,7 +209,6 @@ ...@@ -209,7 +209,6 @@
"@testing-library/dom": "^7.16.2", "@testing-library/dom": "^7.16.2",
"@vue/test-utils": "1.2.0", "@vue/test-utils": "1.2.0",
"acorn": "^6.3.0", "acorn": "^6.3.0",
"apollo": "^2.33.8",
"axios-mock-adapter": "^1.15.0", "axios-mock-adapter": "^1.15.0",
"babel-jest": "^26.5.2", "babel-jest": "^26.5.2",
"babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-dynamic-import-node": "^2.3.3",
...@@ -264,8 +263,7 @@ ...@@ -264,8 +263,7 @@
}, },
"resolutions": { "resolutions": {
"chokidar": "^3.4.0", "chokidar": "^3.4.0",
"@types/node": "14.17.5", "@types/node": "14.17.5"
"graphql": "^15.4.0"
}, },
"engines": { "engines": {
"node": ">=12.22.1", "node": ">=12.22.1",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment