diff --git a/.eslintrc.js b/.eslintrc.js index 5b0c79f1..9d50e871 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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, @@ -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'], diff --git a/package.json b/package.json index 324f0c68..7bc7165a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index ce771253..9d700951 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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: @@ -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" @@ -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