Topics


Pages


Content

See also Format and lint section of my Cookbook.

Ignore summary

ES Lint

Ignore linting rule on same line.

console.log("Hello, World"); // eslint-disable-line no-console

Prettier

Ignore formatting rule on next line.

// prettier-ignore
console.log("Hello, World")