FIX
This commit is contained in:
parent
48cda9ea59
commit
8731c22875
|
@ -0,0 +1,2 @@
|
|||
client/src/styles/legacy/*
|
||||
admin/client/src/styles/legacy/*
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('@silverstripe/eslint-config/.stylelintrc');
|
|
@ -1,75 +0,0 @@
|
|||
defaultSeverity: warning
|
||||
extends:
|
||||
- stylelint-config-recommended-scss
|
||||
- stylelint-config-sass-guidelines
|
||||
- stylelint-config-standard
|
||||
plugins:
|
||||
- stylelint-scss
|
||||
ignoreFiles:
|
||||
- 'client/src/styles/legacy/*'
|
||||
- 'admin/client/src/styles/legacy/*'
|
||||
rules:
|
||||
# Line Spacing
|
||||
rule-empty-line-before:
|
||||
- always-multi-line
|
||||
- ignore:
|
||||
- after-comment
|
||||
- first-nested
|
||||
- inside-block
|
||||
# Selector rules
|
||||
selector-no-qualifying-type:
|
||||
- true
|
||||
- ignore:
|
||||
- attribute
|
||||
- class
|
||||
selector-max-id: 2
|
||||
selector-max-compound-selectors: 5
|
||||
selector-pseudo-element-colon-notation:
|
||||
- single
|
||||
no-descending-specificity:
|
||||
- true
|
||||
- ignore:
|
||||
- selectors-within-list
|
||||
max-nesting-depth:
|
||||
- 3
|
||||
- ignore:
|
||||
- blockless-at-rules
|
||||
- pseudo-classes
|
||||
# Color rules
|
||||
color-function-notation:
|
||||
- legacy
|
||||
alpha-value-notation:
|
||||
- number
|
||||
number-max-precision: 5
|
||||
color-named:
|
||||
- never
|
||||
- ignore:
|
||||
- inside-function
|
||||
# Common rules
|
||||
function-url-quotes: always
|
||||
import-notation: string
|
||||
annotation-no-unknown:
|
||||
- true
|
||||
- ignoreAnnotations:
|
||||
- 'default'
|
||||
comment-no-empty:
|
||||
- true
|
||||
declaration-block-no-duplicate-properties:
|
||||
- true
|
||||
no-irregular-whitespace:
|
||||
- true
|
||||
block-no-empty:
|
||||
- true
|
||||
- ignore:
|
||||
- comments
|
||||
font-family-name-quotes:
|
||||
- always-unless-keyword
|
||||
# Turn off rules
|
||||
selector-class-pattern: null
|
||||
function-no-unknown: null
|
||||
property-no-vendor-prefix: null
|
||||
value-no-vendor-prefix: null
|
||||
font-family-no-missing-generic-family-keyword: null
|
||||
scss/dollar-variable-colon-space-after: null
|
||||
scss/no-global-function-names: null
|
||||
value-keyword-case: null
|
|
@ -35,7 +35,7 @@
|
|||
"core-js": "^3.26.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@silverstripe/eslint-config": "^1.1.0",
|
||||
"@silverstripe/eslint-config": "^1.1.1",
|
||||
"@silverstripe/webpack-config": "^2.0.3",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^5.0.0"
|
||||
|
|
Loading…
Reference in New Issue