Skip to content

Commit

Permalink
Merge pull request #1163 from gethinode/develop
Browse files Browse the repository at this point in the history
Migrate to neostandard eslint
  • Loading branch information
markdumay authored Sep 5, 2024
2 parents 16cc468 + fc86946 commit a3178e0
Show file tree
Hide file tree
Showing 5 changed files with 959 additions and 456 deletions.
8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

1 change: 1 addition & 0 deletions assets/js/alert.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const alert = document.getElementById('page-alert')
const closeBtn = document.getElementById('page-alert-btn-close')
if (alert !== null && closeBtn !== null) {
Expand Down
14 changes: 14 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict'

module.exports = require('neostandard')({
ignores: [
"assets/js/critical/languageSelector.js",
"assets/js/critical/color.js",
"assets/js/analytics.js",
"assets/js/flexsearch.js",
"assets/js/navbar.js",
"assets/js/sharing.js",
"assets/js/vendor",
"node_modules",
]
})
Loading

0 comments on commit a3178e0

Please sign in to comment.