Skip to content

Bc/migrate eslint config graphql #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions packages/eslint-config-graphql/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# @lmc-eu/eslint-config-graphql
# @alma-oss/eslint-config-graphql

## Install

```bash
npm install @lmc-eu/eslint-config-graphql -D
npm install @alma-oss/eslint-config-graphql -D
```

## Usage
Expand All @@ -14,7 +14,7 @@ Create a _.eslintrc.js_ file with the following contents:
module.exports = {
extends: [
// ... (base eslint config)
'@lmc-eu/eslint-config-graphql',
'@alma-oss/eslint-config-graphql',
],
};
```
Expand All @@ -36,3 +36,9 @@ Additionally don’t forget to have `.graphqlconfig` file:
This configuration uses the following plugins:

- [`@graphql-eslint/eslint-plugin`](https://the-guild.dev/graphql/eslint/docs/getting-started)

## 📝 License

Licensed under the [MIT][license].

[license]: https://github.com/lmc-eu/code-quality-tools/blob/main/LICENSE.md
12 changes: 6 additions & 6 deletions packages/eslint-config-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@lmc-eu/eslint-config-graphql",
"description": "LMC's ESLint config for javascript applications that use GraphQL and Apollo client.",
"name": "@alma-oss/eslint-config-graphql",
"description": "Alma's ESLint config for javascript applications that use GraphQL and Apollo client.",
"version": "3.0.6",
"author": "Tomas Litera <tomas.litera@lmc.eu>",
"author": "Tomas Litera <tomas.litera@almacareer.com>",
"keywords": [
"config",
"eslint",
"preset",
"lmc",
"alma",
"graphql"
],
"license": "BSD-3-Clause",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/lmc-eu/code-quality-tools.git",
Expand All @@ -20,7 +20,7 @@
"url": "https://github.com/lmc-eu/code-quality-tools/issues"
},
"engines": {
"node": "^16 || ^18 || >=20"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
Loading