eslint-config-xo-vue icon indicating copy to clipboard operation
eslint-config-xo-vue copied to clipboard

Configuration for rule "unicorn/prevent-abbreviations" is invalid

Open younho9 opened this issue 3 years ago • 0 comments

My XO Configuration.

"xo": {
    "prettier": true,
    "envs": [
      "browser",
      "node"
    ],
    "extends": [
      "@nuxtjs/eslint-config-typescript",
      "plugin:nuxt/recommended",
      "xo-vue"
    ],
    "extensions": [
      ".js",
      ".ts",
      ".vue"
    ]
  },

There is some error with unicorn/prevent-abbreviations

Error: BaseConfig » /node_modules/eslint-config-xo-vue/index.js:
        Configuration for rule "unicorn/prevent-abbreviations" is invalid:
        Value {"whitelist":{"props":true,"assetsDir":true}} should NOT have additional properties.

It seems that the whitelist has been changed to the name allowlist.

younho9 avatar Dec 07 '21 12:12 younho9