No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    .eslintrc rules not working

    Framework
    1
    2
    1476
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • qyloxe
      qyloxe last edited by

      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” */

      1 Reply Last reply Reply Quote 0
      • qyloxe
        qyloxe last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post