diff --git a/index.cjs b/index.cjs index caec31a..6694375 100644 --- a/index.cjs +++ b/index.cjs @@ -1,4 +1,7 @@ module.exports = { + parser: '@typescript-eslint/parser', + plugins: ['@typescript-eslint'], + rules: { // This reverts the "no null" decision from xo '@typescript-eslint/ban-types': 'off', diff --git a/package.json b/package.json index 2030a53..303b300 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "xo": "^0.52.3" }, "xo": { + "extends": ".", "semicolon": false, "space": 2, "prettier": true diff --git a/yarn.lock b/yarn.lock index 15197d2..a09124f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -514,7 +514,7 @@ resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== -"@typescript-eslint/eslint-plugin@*": +"@typescript-eslint/eslint-plugin@^5.35.1": version "5.36.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.36.1.tgz#471f64dc53600025e470dad2ca4a9f2864139019" integrity sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA== @@ -529,7 +529,7 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/parser@*": +"@typescript-eslint/parser@^5.35.1": version "5.36.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.36.1.tgz#931c22c7bacefd17e29734628cdec8b2acdcf1ce" integrity sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A== @@ -1431,7 +1431,7 @@ eslint-config-prettier@^8.5.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== -eslint-config-xo-typescript@*: +eslint-config-xo-typescript@^0.53.0: version "0.53.0" resolved "https://registry.yarnpkg.com/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.53.0.tgz#702be21ea0dfcb124903c5f723d023b1fdeb0da2" integrity sha512-IJ1n70egMPTou/41HoGGFbLf/2WCsVW5lSUxOSklrR8T1221fMRPVJxIVZ3evr8R+N5wR6uzg/0uzSymwWA5Bg==