mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-01-26 03:03:59 +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'
|
||||
|
||||
module.exports = [
|
||||
'defaults and fully supports es6-module',
|
||||
'maintained node versions'
|
||||
]
|
||||
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user