Skip to content

Commit

Permalink
Ignore eslint warnings for now
Browse files Browse the repository at this point in the history
  • Loading branch information
beechnut committed Jun 11, 2024
1 parent 0e3f78d commit d9484ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const { imageShortcode, imageWithClassShortcode } = require('./config');

const siteData = yaml.load(fs.readFileSync('./_data/site.yaml', 'utf8'));

module.exports = function (config) {
module.exports = function (config) { /* eslint-disable-line func-names */
// Set pathPrefix for site
let pathPrefix = '/';

Expand Down Expand Up @@ -165,7 +165,7 @@ module.exports = function (config) {
// https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md
// Token methods: https://github.com/markdown-it/markdown-it/blob/master/lib/token.js#L125
const openDefaultRender = markdownLibrary.renderer.rules.link_open ||
function(tokens, idx, options, env, self) {
function(tokens, idx, options, env, self) { /* eslint-disable-line func-names */
return self.renderToken(tokens, idx, options);
};

Expand Down Expand Up @@ -201,7 +201,7 @@ module.exports = function (config) {
};

const defaultHtmlBlockRender = markdownLibrary.renderer.rules.html_block ||
function(tokens, idx, options, env, self) {
function(tokens, idx, options, env, self) { /* eslint-disable-line func-names */
return self.renderToken(tokens, idx, options);
};

Expand Down Expand Up @@ -248,7 +248,7 @@ module.exports = function (config) {

// Also need to add icon links to any html style links
const inlineHTMLDefaultRender = markdownLibrary.renderer.rules.html_inline ||
function(tokens, idx, options, env, self) {
function(tokens, idx, options, env, self) { /* eslint-disable-line func-names */
return self.renderToken(tokens, idx, options);
};

Expand Down
2 changes: 1 addition & 1 deletion config/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const teamData = parse(
const findPerson = (id) => {
const maybePerson = teamData.find((person) => person.id === id);
if (maybePerson === undefined) {
console.log(id, 'is undefined')
console.warn(id, 'is undefined') /* eslint-disable-line no-console */
}
return maybePerson
}
Expand Down

0 comments on commit d9484ad

Please sign in to comment.