stylelint-sassdoc
Version:
stylelint plugin to check scss files for a valid sassdoc documentation Credits to https://github.com/anneangersbach
30 lines (29 loc) • 779 B
JavaScript
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
node: true,
},
extends: [
'airbnb-base',
],
parserOptions: {
ecmaVersion: 12,
},
rules: {
'comma-dangle': 'warn',
'func-names': 'off',
'import/extensions': 'off',
'import/first': 'off',
'import/newline-after-import': 'off',
'import/no-self-import': 'warn',
'import/no-unresolved': 'off',
'indent': ['error', 4],
'linebreak-style': 0, // Expected linebreaks to be 'LF' but found 'CRLF'. FIX for windows
'no-extra-semi': 'warn',
'no-unused-vars': 'warn',
'prefer-arrow-callback': 'warn',
'prefer-destructuring': 'warn'
},
};