andrehtissot/dexie-opened-databases-addon

View on GitHub

Showing 21 of 21 total issues

Delete
Open

    bannerContent = fs.readFileSync('tools/banner.txt', 'utf-8')
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    if (fileContent.indexOf('/*!') === -1) {
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    fs.writeFileSync(file, bannerContent + removeBannerDuplicates(fileContent), 'utf-8')
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    }
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    )
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ·
Open

        return function() {
Severity: Minor
Found in src/DexieOpenedDatabasesAddon.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    files = process.argv.slice(2),
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace (fileContent)·{␍ with ·(fileContent)·{
Open

const removeBannerDuplicates = function(fileContent) {
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

        return fileContent
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

files.forEach((file) => {
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

const fs = require('fs'),
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

}
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ·
Open

    db.close = Dexie.override(db.close, function(close) {
Severity: Minor
Found in src/DexieOpenedDatabasesAddon.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    return removeBannerDuplicates(
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ·
Open

        return function() {
Severity: Minor
Found in src/DexieOpenedDatabasesAddon.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

})
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

        fileContent.substring(0, fileContent.indexOf('/*!')) + fileContent.substring(fileContent.indexOf(' */') + 3)
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

    let fileContent = fs.readFileSync(file, 'utf-8')
Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ·
Open

    db.open = Dexie.override(db.open, function(open) {
Severity: Minor
Found in src/DexieOpenedDatabasesAddon.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete
Open

Severity: Minor
Found in tools/insertBanner.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Severity
Category
Status
Source
Language