Skip to content
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

chore: add eslint-plugin-hydra #4

Merged
merged 1 commit into from
Nov 3, 2023
Merged
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
10 changes: 5 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
'plugin:@exodus/ban-flow/recommended',
'plugin:@exodus/basic-utils/recommended',
'plugin:@exodus/restricted-imports/recommended',
// 'plugin:hydra/recommended',
'plugin:@exodus/hydra/recommended',
'plugin:@exodus/eslint-plugin-package/recommended',
],
rules: shared,
Expand All @@ -39,10 +39,10 @@ module.exports = {
},
},
overrides: [
// {
// extends: ['plugin:hydra/features'],
// files: ['{features,modules}/**/*.{ts,js}'],
// },
{
extends: ['plugin:@exodus/hydra/features'],
files: ['{features,modules}/**/*.{ts,js}'],
},
{
files: ['*.{ts,tsx}'],
extends: ['@exodus/eslint-config/typescript-react'],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"@exodus/eslint-config": "^5.15.0",
"@exodus/eslint-plugin-ban-flow": "latest",
"@exodus/eslint-plugin-basic-utils": "latest",
"@exodus/eslint-plugin-hydra": "^1.0.0",
"@exodus/eslint-plugin-package": "^1.6.0",
"@exodus/eslint-plugin-restricted-imports": "^1.1.1",
"@exodus/lerna-release-action-cli": "^1.3.2",
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ __metadata:
languageName: node
linkType: hard

"@exodus/basic-utils@npm:^2.0.1":
"@exodus/basic-utils@npm:^2.0.1, @exodus/basic-utils@npm:^2.1.0":
version: 2.1.1
resolution: "@exodus/basic-utils@npm:2.1.1"
dependencies:
Expand Down Expand Up @@ -1678,6 +1678,17 @@ __metadata:
languageName: node
linkType: hard

"@exodus/eslint-plugin-hydra@npm:^1.0.0":
version: 1.0.0
resolution: "@exodus/eslint-plugin-hydra@npm:1.0.0"
dependencies:
"@exodus/basic-utils": ^2.1.0
eslint-module-utils: ^2.8.0
lodash: ^4.17.21
checksum: bffcc23378e9eaae10826230c5e59bdb987d40bb1c30396840da280f7d09224d514a31c5b4305f11f3627a3b3d5e44ff433c542e1f443434911e139c64f718af
languageName: node
linkType: hard

"@exodus/eslint-plugin-mutable@npm:1.0.0":
version: 1.0.0
resolution: "@exodus/eslint-plugin-mutable@npm:1.0.0"
Expand Down Expand Up @@ -10957,6 +10968,7 @@ __metadata:
"@exodus/eslint-config": ^5.15.0
"@exodus/eslint-plugin-ban-flow": latest
"@exodus/eslint-plugin-basic-utils": latest
"@exodus/eslint-plugin-hydra": ^1.0.0
"@exodus/eslint-plugin-package": ^1.6.0
"@exodus/eslint-plugin-restricted-imports": ^1.1.1
"@exodus/lerna-release-action-cli": ^1.3.2
Expand Down
Loading