๐Ÿ™…โ€โ™€๏ธ

Ignoring code

csshtmljavascripttypescript

ESlint

eslint.org/docs/use...figuring

/* eslint-disable */
alert('foo')
/* eslint-enable */
/* eslint-disable no-alert, no-console */
alert('foo')
console.log('bar')
/* eslint-enable no-alert, no-console */
alert('foo') // eslint-disable-line
alert('foo') // eslint-disable-line no-alert

Prettier

prettier.io/docs/en...ore.html

// prettier-ignore
matrix(
1, 0, 0,
0, 1, 0,
0, 0, 1
)
<!-- prettier-ignore-start -->
<!-- prettier-ignore-end -->

TypeScript

// @ts-ignore

TSLint

/* tslint:disable no-console */
console.log()
/* tslint:disable no-console */
/* tslint:disable */
/* tslint:enable */
/* tslint:disable:rule */
/* tslint:enable:rule */
/* tslint:disable-next-line */
/* tslint:disable-line */
/* tslint:disable-next-line:rule */

Stylelint

/* stylelint-disable */
const Container = styled.div``
/* stylelint-enable */
Edit this page
Want to make your own site like this? Try gatsby-theme-code-notes by Zander Martineau.
Notes on code. My memory bank.