Skip to content
Snippets Groups Projects
Commit 61a0d753 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Initial commit.

parents
Branches main
No related tags found
No related merge requests found
# Disable line-ending conversions for this repository.
* -text
# dependencies
/node_modules
# testing
/coverage
# production
/build
# environments
.env.local
.env.development.local
.env.test.local
.env.production.local
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# misc
*~
.DS_Store
index.js 0 → 100644
module.exports = {
'extends': 'stylelint-config-standard',
'rules': {
'alpha-value-notation': 'percentage',
'at-rule-empty-line-before': [
'always',
{
'except': [
'blockless-after-same-name-blockless',
'first-nested',
],
'ignore': [
'after-comment',
],
},
],
'at-rule-name-case': 'lower',
'at-rule-no-unknown': true,
'block-closing-brace-empty-line-before': 'never',
'block-no-empty': true,
'color-function-notation': 'modern',
'color-named': 'never',
'color-no-hex': true,
'comment-empty-line-before': [
'always',
{
'except': [
'first-nested',
],
'ignore': [
'stylelint-commands',
],
},
],
'comment-no-empty': true,
'comment-whitespace-inside': 'always',
'custom-property-empty-line-before': [
'always',
{
'except': [
'after-custom-property', 'first-nested',
],
'ignore': [
'after-comment', 'inside-single-line-block',
],
},
],
'declaration-bang-space-after': 'never',
'declaration-bang-space-before': 'always',
'declaration-block-no-duplicate-custom-properties': true,
'declaration-block-no-duplicate-properties': true,
'declaration-block-no-redundant-longhand-properties': true,
'declaration-block-no-shorthand-property-overrides': true,
'declaration-block-semicolon-space-after': 'always-single-line',
'declaration-block-semicolon-space-before': 'never',
'declaration-block-single-line-max-declarations': 1,
'declaration-block-trailing-semicolon': 'always',
'declaration-colon-space-after': 'always-single-line',
'declaration-colon-space-before': 'never',
'declaration-empty-line-before': [
'always',
{
'except': [
'after-declaration', 'first-nested',
],
'ignore': [
'after-comment', 'inside-single-line-block',
],
},
],
'declaration-no-important': true,
'font-family-name-quotes': 'always-unless-keyword',
'font-family-no-duplicate-names': true,
'font-family-no-missing-generic-family-keyword': true,
'function-calc-no-unspaced-operator': true,
'function-comma-space-after': 'always-single-line',
'function-comma-space-before': 'never',
'function-linear-gradient-no-nonstandard-direction': true,
'function-max-empty-lines': 0,
'function-name-case': 'lower',
'function-parentheses-space-inside': 'never',
'function-url-quotes': 'always',
'function-whitespace-after': 'always',
'hue-degree-notation': 'angle',
'indentation': 2,
'keyframe-declaration-no-important': true,
'length-zero-no-unit': true,
'linebreaks': 'unix',
'max-empty-lines': 1,
'max-nesting-depth': 0,
'media-feature-colon-space-after': 'always',
'media-feature-colon-space-before': 'never',
'media-feature-name-case': 'lower',
'media-feature-name-no-unknown': true,
'media-feature-parentheses-space-inside': 'never',
'media-feature-range-operator-space-after': 'always',
'media-feature-range-operator-space-before': 'always',
'named-grid-areas-no-invalid': true,
'no-descending-specificity': true,
'no-duplicate-at-import-rules': true,
'no-duplicate-selectors': true,
'no-empty-first-line': true,
'no-empty-source': true,
'no-eol-whitespace': true,
'no-extra-semicolons': true,
'no-invalid-double-slash-comments': true,
'no-invalid-position-at-import-rule': true,
'no-irregular-whitespace': true,
'no-missing-end-of-source-newline': true,
'no-unknown-animations': true,
'number-leading-zero': 'always',
'number-max-precision': 8,
'number-no-trailing-zeros': true,
'property-case': 'lower',
'property-no-unknown': true,
'rule-empty-line-before': [
'always-multi-line',
{
'except': [
'first-nested',
],
'ignore': [
'after-comment',
],
},
],
'selector-attribute-brackets-space-inside': 'never',
'selector-attribute-operator-space-after': 'never',
'selector-attribute-operator-space-before': 'never',
'selector-attribute-quotes': 'always',
'selector-class-pattern': '[a-z0-9-]+',
'selector-combinator-space-after': 'always',
'selector-combinator-space-before': 'always',
'selector-descendant-combinator-no-non-space': true,
'selector-id-pattern': '[a-z0-9-]+',
'selector-max-empty-lines': 0,
'selector-max-universal': 1,
'selector-pseudo-class-case': 'lower',
'selector-pseudo-class-no-unknown': true,
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-pseudo-element-case': 'lower',
'selector-pseudo-element-colon-notation': 'double',
'selector-pseudo-element-no-unknown': true,
'selector-type-case': 'lower',
'selector-type-no-unknown': [
true,
{
'ignore': [
'custom-elements',
],
},
],
'shorthand-property-no-redundant-values': true,
'string-no-newline': true,
'string-quotes': 'double',
'time-min-milliseconds': 10,
'unicode-bom': 'never',
'unit-case': 'lower',
'unit-no-unknown': true,
'value-keyword-case': 'lower',
'value-list-comma-newline-before': 'never-multi-line',
'value-list-max-empty-lines': 0,
},
};
This diff is collapsed.
{
"name": "@unlcsce/eslint-config",
"version": "3.0.0",
"description": "Stylelint configuration used by the UNL CSCE core courses.",
"private": true,
"license": "UNLICENSED",
"devDependencies": {
"stylelint-config-standard": ">= 26"
},
"peerDependencies": {
"stylelint-config-standard": ">= 26"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment