Skip to content

Commit

Permalink
Fix the new lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 13, 2023
1 parent 0c84494 commit 7055d24
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions build/build-plugins.js
Expand Up @@ -9,6 +9,7 @@
'use strict'

const path = require('node:path')
const process = require('node:process')
const rollup = require('rollup')
const globby = require('globby')
const { babel } = require('@rollup/plugin-babel')
Expand Down
1 change: 1 addition & 0 deletions build/change-version.js
Expand Up @@ -10,6 +10,7 @@

const fs = require('node:fs').promises
const path = require('node:path')
const process = require('node:process')
const globby = require('globby')

const VERBOSE = process.argv.includes('--verbose')
Expand Down
1 change: 1 addition & 0 deletions build/rollup.config.js
@@ -1,6 +1,7 @@
'use strict'

const path = require('node:path')
const process = require('node:process')
const { babel } = require('@rollup/plugin-babel')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const replace = require('@rollup/plugin-replace')
Expand Down
1 change: 1 addition & 0 deletions build/vnu-jar.js
Expand Up @@ -9,6 +9,7 @@
'use strict'

const { execFile, spawn } = require('node:child_process')
const process = require('node:process')
const vnu = require('vnu-jar')

execFile('java', ['-version'], (error, stdout, stderr) => {
Expand Down
1 change: 0 additions & 1 deletion build/zip-examples.js
Expand Up @@ -11,7 +11,6 @@

const path = require('node:path')
const sh = require('shelljs')

const pkg = require('../package.json')

const versionShort = pkg.config.version_short
Expand Down
1 change: 1 addition & 0 deletions js/index.umd.js
Expand Up @@ -18,6 +18,7 @@ import Tab from './src/tab.js'
import Toast from './src/toast.js'
import Tooltip from './src/tooltip.js'

// eslint-disable-next-line import/no-anonymous-default-export
export default {
Alert,
Button,
Expand Down
1 change: 1 addition & 0 deletions js/src/dom/data.js
Expand Up @@ -11,6 +11,7 @@

const elementMap = new Map()

// eslint-disable-next-line import/no-anonymous-default-export
export default {
set(element, key, instance) {
if (!elementMap.has(element)) {
Expand Down
2 changes: 1 addition & 1 deletion js/tests/integration/bundle-modularity.js
@@ -1,4 +1,4 @@
/* eslint-disable import/extensions, import/no-unassigned-import */
/* eslint-disable import/extensions, n/file-extension-in-import, import/no-unassigned-import */

import Tooltip from '../../dist/tooltip'
import '../../dist/carousel'
Expand Down
1 change: 1 addition & 0 deletions js/tests/karma.conf.js
@@ -1,6 +1,7 @@
'use strict'

const path = require('node:path')
const process = require('node:process')
const ip = require('ip')
const { babel } = require('@rollup/plugin-babel')
const istanbul = require('rollup-plugin-istanbul')
Expand Down
1 change: 1 addition & 0 deletions scss/tests/sass-true/register.js
Expand Up @@ -4,6 +4,7 @@ const path = require('node:path')

const runnerPath = path.join(__dirname, 'runner').replace(/\\/g, '/')

// eslint-disable-next-line n/no-deprecated-api
require.extensions['.scss'] = (module, filename) => {
const normalizedFilename = filename.replace(/\\/g, '/')

Expand Down

0 comments on commit 7055d24

Please sign in to comment.