standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected rule quote-props, please remove it.

huyaxiong opened this issue · comments

I use webstorm as my IDE, after I typed these commands from official guide, I found an unexpected rule quote-props.

npm install --save-dev eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

.eslintrc

{
  "extends": ["standard"]
}

package.json

    "eslint-config-standard": "^12.0.0",
    "eslint-plugin-import": "^2.14.0",
    "eslint-plugin-node": "^7.0.1",
    "eslint-plugin-promise": "^4.0.1",
    "eslint-plugin-standard": "^4.0.0",

I just tried this process with a fresh project on WebStorm. The only thing I had to change from what you did was install eslint. I could not reproduce your issue, quote-props was not enabled for me, and quote-props is not included in StandardJS. Perhaps you have some other settings either in WebStorm or another eslint config file?

If you aren't aware, you can enable the Standard Style in WebStorm without installing packages: https://blog.jetbrains.com/webstorm/2017/01/webstorm-2017-1-eap-171-2272/

WebStorm version I used:

WebStorm 2018.3.1
Build #WS-183.4588.66, built on December 5, 2018
JRE: 1.8.0_152-release-1343-b16 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.1