mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-03-03 19:54:44 +00:00
chore(lint): lint all and remove extra files
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
extends @ivuorinen/browserslist-config
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["@ivuorinen/commitlint-config"]
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["@ivuorinen"]
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "@ivuorinen/markdownlint-config"
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
const config = require('@ivuorinen/prettier-config/index.js')
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
...config,
|
|
||||||
printWidth: 80,
|
|
||||||
proseWrap: 'always'
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["@ivuorinen/semantic-release-config"]
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,3 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
module.exports = [
|
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']
|
||||||
'defaults and fully supports es6-module',
|
|
||||||
'maintained node versions'
|
|
||||||
]
|
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
const configurationPaths = require('../lib/configuration-paths')
|
const configurationPaths = require('../lib/configuration-paths')
|
||||||
|
|
||||||
const configItems = configurationPaths('[module name]')
|
const configItems = configurationPaths('[module name]')
|
||||||
const longestLine = configItems.reduce((a, b) =>
|
const longestLine = configItems.reduce((a, b) => (a.length > b.length ? a : b)).length
|
||||||
a.length > b.length ? a : b
|
|
||||||
).length
|
|
||||||
|
|
||||||
const mdTable = configItems.map(file => {
|
const mdTable = configItems.map(file => {
|
||||||
const diff = longestLine - file.length
|
const diff = longestLine - file.length
|
||||||
|
|||||||
@@ -7,11 +7,7 @@ module.exports = {
|
|||||||
es2021: true,
|
es2021: true,
|
||||||
node: true
|
node: true
|
||||||
},
|
},
|
||||||
extends: [
|
extends: ['plugin:promise/recommended', 'plugin:sonarjs/recommended', 'standard'],
|
||||||
'plugin:promise/recommended',
|
|
||||||
'plugin:sonarjs/recommended',
|
|
||||||
'standard'
|
|
||||||
],
|
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 12
|
ecmaVersion: 12
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,10 +19,7 @@ module.exports = {
|
|||||||
'scss/dollar-variable-no-missing-interpolation': true,
|
'scss/dollar-variable-no-missing-interpolation': true,
|
||||||
'scss/dollar-variable-pattern': '^[a-z][a-z-\\d]*$',
|
'scss/dollar-variable-pattern': '^[a-z][a-z-\\d]*$',
|
||||||
'scss/media-feature-value-dollar-variable': null,
|
'scss/media-feature-value-dollar-variable': null,
|
||||||
'scss/no-duplicate-dollar-variables': [
|
'scss/no-duplicate-dollar-variables': [null, { ignoreInsideAtRules: ['if', 'mixin'] }],
|
||||||
null,
|
|
||||||
{ ignoreInsideAtRules: ['if', 'mixin'] }
|
|
||||||
],
|
|
||||||
'scss/no-duplicate-mixins': true,
|
'scss/no-duplicate-mixins': true,
|
||||||
'scss/operator-no-newline-after': true,
|
'scss/operator-no-newline-after': true,
|
||||||
'scss/operator-no-newline-before': true,
|
'scss/operator-no-newline-before': true,
|
||||||
|
|||||||
Reference in New Issue
Block a user