.eslintrc rules not working

  • I need to disable ESLint “camelcase” rule. No matter what I enter into .eslintrc file it just doesn’t work:

    // add your custom rules here
    ’rules’: {
    // ‘camelcase’: [“error”, {properties: “never”}],
    // ‘camelcase’: [0, {properties: “never”}],
    // ‘camelcase’: “off”,
    // ‘camelcase’: 0,
    // ‘camelcase’: … and about 12 other permutations… :-(((
    ‘camelcase’: [0],

    as for now, I put this line into individual files, but I’d rather prefer to have one global rule:
    /* eslint camelcase: “off” */

  • solution (possible?):

    Changed eslint imports in package.json to latest versions and it works:

    "eslint": "^4.18.1",
    "eslint-config-standard": "^11.0.0",
    "eslint-friendly-formatter": "^3.0.0",
    "eslint-loader": "^1.9.0",
    "eslint-plugin-import": "^2.9.0",
    "eslint-plugin-node": "^6.0.1",
    "eslint-plugin-promise": "^3.6.0",
    "eslint-plugin-standard": "^3.0.1",
    "eslint-plugin-vue": "^4.2.2",

    I have no idea if this change wouldn’t break anything.

Log in to reply

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.