Ignore TypeScript-ESLint Rule with Code Comment
To ignore a typescript-eslint rule for a single line or block of code:
/* eslint-disable @typescript-eslint/camelcase */
const myObj = {
some_property: 'blah',
};
JavaScript
Published
_data/metadata.json
with your site's information..eleventy.js
with your configuration preferences._includes/layouts/base.njk
.This is an Eleventy project created from the eleventy-starter
repo.
To ignore a typescript-eslint rule for a single line or block of code:
/* eslint-disable @typescript-eslint/camelcase */
const myObj = {
some_property: 'blah',
};
JavaScript
Published