diff --git a/packages/staking/.eslintignore b/packages/staking/.eslintignore index 53616b7f7..9589d2778 100644 --- a/packages/staking/.eslintignore +++ b/packages/staking/.eslintignore @@ -1 +1,10 @@ +.eslintrc.js +*.d.ts +*jest.config.js +dist/* +**/*.js +apps/desktop/wdio-logs/* + src/features/BrowsePools/data.json + +src/design-tokens/ \ No newline at end of file diff --git a/packages/staking/package.json b/packages/staking/package.json index bcf4319e1..a40a9a0f0 100644 --- a/packages/staking/package.json +++ b/packages/staking/package.json @@ -35,7 +35,7 @@ "build-storybook": "NODE_OPTIONS=--openssl-legacy-provider; storybook build", "cleanup": "yarn exec rm -rf dist node_modules && yarn exec rm -rf ../../.cache/eslintcache", "dev": "NODE_OPTIONS=--openssl-legacy-provider; storybook dev -p 6006", - "eslint:check": "yarn run -T eslint --cache --cache-location ../../.cache/eslintcache --cache-strategy metadata --ignore-path '../../.eslintignore' '**/*.{cjs,mjs,js,ts,tsx}'", + "eslint:check": "yarn run -T eslint --cache --cache-location ../../.cache/eslintcache --cache-strategy metadata --ignore-path './.eslintignore' '**/*.{cjs,mjs,js,ts,tsx}'", "eslint:fix": "yarn eslint:check --fix", "lint": "echo 'Staking package runs lint in its own CI'", "lint:all": "yarn eslint:check && yarn prettier:check",