Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ 'use strict'; const path = require('path'); module.exports = { extends: ['stylelint-config-standard'], ignoreFiles: ['node_modules', '**/*.md', '__mocks__/*.css'], defaultSeverity: 'warning', plugins: [ path.resolve(__dirname, 'plugins/styling-hooks-pattern.js'), path.resolve(__dirname, 'plugins/styling-hooks-global-pattern.js'), path.resolve(__dirname, 'plugins/styling-hooks-reference-pattern.js'), path.resolve(__dirname, 'plugins/styling-hooks-deprecated.js'), ], rules: { 'sds-stylelint-plugin/styling-hooks-pattern': [null], 'sds-stylelint-plugin/styling-hooks-global-pattern': [true], 'sds-stylelint-plugin/styling-hooks-reference-pattern': [true], 'sds-stylelint-plugin/styling-hooks-deprecated': [true, { severity: 'warning' }], 'selector-type-no-unknown': [true, { ignore: ['custom-elements'] }], }, }; |