Closed MikeMcC399 closed 5 months ago
The ESLint rule indent was deprecated in ESLint v8.53.0. The ESlint documentation suggests to use the corresponding rule in @stylistic/eslint-plugin-js.
v8.53.0
@stylistic/eslint-plugin-js
This repo uses ESLint v8.57.0 and so the deprecation already applies.
v8.57.0
@stylistic/js
plugins
indent
"@stylistic/js/indent": ["error", 2, { "SwitchCase": 1, "MemberExpression": "off" }]
This is a refactor since the functionality remains the same, only the underlying tools are changed.
npm ci npm run lint
:tada: This PR is included in version 2.0.7 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Issue
The ESLint rule indent was deprecated in ESLint
v8.53.0
. The ESlint documentation suggests to use the corresponding rule in@stylistic/eslint-plugin-js
.This repo uses ESLint
v8.57.0
and so the deprecation already applies.Change
@stylistic/js
added toplugins
indent
rule is changed from https://github.com/cypress-io/cypress-example-kitchensink/blob/c06177dadc9063e3a0f91bfb35a225a1cde94a91/.eslintrc#L16 toThis is a refactor since the functionality remains the same, only the underlying tools are changed.
Verification
Reference