ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 48 forks source link

How to ignore some warnings ? #160

Closed tongjieme closed 7 years ago

tongjieme commented 7 years ago

Hello,

I am new to Atom, just came across linter-js-standard package. And I want to ignore some warnings such as "Extra semicolon" "Strings must use singlequote". But I couldn't find an answer in README.md and Google search results.

Thank You.

ricardofbarros commented 7 years ago

Standard and it's variants are basically eslint, you could use:

const is_name = 'Ricardo' // eslint-disable-line camelcase

That just an example, I recommend you read the documentation.

http://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments