2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Tweak and re-organize ESLint config (#38369)

* Tweak and re-organize ESLint config

* merge individual configs to the root config
* enable more eslint-plugin-import rules
* lint markdown files

* Lint
This commit is contained in:
XhmikosR
2023-03-29 20:49:30 +03:00
committed by GitHub
parent 3aabfc70c3
commit ae43f0c48b
65 changed files with 311 additions and 296 deletions
-2
View File
@@ -1,5 +1,3 @@
/* eslint-env node */
/* eslint-disable camelcase */
'use strict'
+1 -2
View File
@@ -1,8 +1,7 @@
/* eslint-env node */
'use strict'
const path = require('node:path')
const runnerPath = path.join(__dirname, 'runner').replace(/\\/g, '/')
require.extensions['.scss'] = (module, filename) => {
+1 -3
View File
@@ -1,10 +1,8 @@
/* eslint-env node */
'use strict'
const { runSass } = require('sass-true')
const fs = require('node:fs')
const path = require('node:path')
const { runSass } = require('sass-true')
module.exports = (filename, { describe, it }) => {
const data = fs.readFileSync(filename, 'utf8')