The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

[HELP] How to Disabled Eslint


How to disable eslint ? because error of "Component name "Content" should always be multi-word vue/multi-word-component-name" this is annoying for me. Just delete eslint on package.json or ? btw i use phpstrom and i have turned off eslint in php strom, but eslint still appears in the browser


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)

 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment

Hi Gusti,

Thank you for contacting our support.

I listed below ways on how you can disable eslint in your project.

  1. To disable Eslint for one line you can put a comment above the line you want to disable Eslint check.

    // eslint-disable-next-line

  2. To disable Eslint for the whole file you can write a comment below on top of the file.

    /* eslint-disable */

  3. To disable Eslint for one specific file or folder you can include it to .eslintignore.

    .eslintignore

    /src/components

  4. Same way if you want to disable Eslint in the entire project just set the path below.

    .eslintignore

    **/*

  5. To disable some specific rule check you can "off" it in .eslintrc.js.

    .eslintrc.js

    module.exports = {
    rules: {
    "no-console": "off",
    },
    }


    no-console rule will disable warnings when using console.log, you can find all available rules in Eslint and Vue Eslint plugin docs.

    In your case, you might want to disable vue/multi-word-component-names.



Regards,
Lauris Stepanovs,
Keenthemes Support Team
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.