mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 01:54:23 +00:00
Merge pull request #1163 from gethinode/develop
Migrate to neostandard eslint
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
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
|
@@ -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) {
|
||||
|
14
eslint.config.js
Normal file
14
eslint.config.js
Normal file
@@ -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",
|
||||
]
|
||||
})
|
1417
package-lock.json
generated
1417
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -76,12 +76,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gethinode/netlify-plugin-dartsass": "^0.3.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-import": "^2.30.0",
|
||||
"eslint-plugin-n": "^16.6.2",
|
||||
"eslint-plugin-promise": "^6.6.0",
|
||||
"eslint": "^9.9.1",
|
||||
"markdownlint-cli2": "^0.13.0",
|
||||
"neostandard": "^0.11.4",
|
||||
"netlify-plugin-hugo-cache-resources": "^0.2.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-cli": "^11.0.0",
|
||||
|
Reference in New Issue
Block a user