chore(lint): lint all and remove extra files

This commit is contained in:
Ismo Vuorinen
2023-10-30 13:54:51 +02:00
parent 3a0a571fab
commit a980c0d342
10 changed files with 4 additions and 36 deletions

View File

@@ -1 +0,0 @@
extends @ivuorinen/browserslist-config

View File

@@ -1,3 +0,0 @@
{
"extends": ["@ivuorinen/commitlint-config"]
}

View File

@@ -1,3 +0,0 @@
{
"extends": ["@ivuorinen"]
}

View File

@@ -1,3 +0,0 @@
{
"extends": "@ivuorinen/markdownlint-config"
}

View File

@@ -1,7 +0,0 @@
const config = require('@ivuorinen/prettier-config/index.js')
module.exports = {
...config,
printWidth: 80,
proseWrap: 'always'
}

View File

@@ -1,3 +0,0 @@
{
"extends": ["@ivuorinen/semantic-release-config"]
}

View File

@@ -1,6 +1,3 @@
'use strict'
module.exports = [
'defaults and fully supports es6-module',
'maintained node versions'
]
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']

View File

@@ -3,9 +3,7 @@
const configurationPaths = require('../lib/configuration-paths')
const configItems = configurationPaths('[module name]')
const longestLine = configItems.reduce((a, b) =>
a.length > b.length ? a : b
).length
const longestLine = configItems.reduce((a, b) => (a.length > b.length ? a : b)).length
const mdTable = configItems.map(file => {
const diff = longestLine - file.length

View File

@@ -7,11 +7,7 @@ module.exports = {
es2021: true,
node: true
},
extends: [
'plugin:promise/recommended',
'plugin:sonarjs/recommended',
'standard'
],
extends: ['plugin:promise/recommended', 'plugin:sonarjs/recommended', 'standard'],
parserOptions: {
ecmaVersion: 12
}

View File

@@ -19,10 +19,7 @@ module.exports = {
'scss/dollar-variable-no-missing-interpolation': true,
'scss/dollar-variable-pattern': '^[a-z][a-z-\\d]*$',
'scss/media-feature-value-dollar-variable': null,
'scss/no-duplicate-dollar-variables': [
null,
{ ignoreInsideAtRules: ['if', 'mixin'] }
],
'scss/no-duplicate-dollar-variables': [null, { ignoreInsideAtRules: ['if', 'mixin'] }],
'scss/no-duplicate-mixins': true,
'scss/operator-no-newline-after': true,
'scss/operator-no-newline-before': true,