Skip to content

Commit

Permalink
Merge branch 'release/3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Aug 30, 2022
2 parents 02ee06e + d232c7a commit 2228092
Show file tree
Hide file tree
Showing 7 changed files with 292 additions and 1,221 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
File renamed without changes.
26 changes: 14 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
module.exports = {
customSyntax: 'postcss-scss',
extends: [require.resolve('./rules/property-order.js'), require.resolve('./rules/selector.js')],
extends: [
'stylelint-config-recommended',
'stylelint-config-recommended-scss',
require.resolve('./rules/property-order.js'),
require.resolve('./rules/selector.js'),
'stylelint-config-prettier',
],
plugins: ['stylelint-high-performance-animation'],
rules: {
indentation: [2, { baseIndentLevel: 1 }],
'plugin/no-low-performance-animation-properties': [true, { ignore: 'paint-properties' }],
'max-line-length': 100,
'at-rule-empty-line-before': [
'always',
{
ignore: ['first-nested', 'after-comment'],
ignoreAtRules: ['return', 'warn', 'import', 'else'],
},
],
'scss/at-rule-no-unknown': [
true,
{
ignoreAtRules: ['tailwind', 'apply', 'variants', 'responsive', 'screen'],
},
],
'block-opening-brace-space-before': 'always',
'declaration-colon-space-after': 'always',
'rule-empty-line-before': [
'always',
{
except: ['after-single-line-comment'],
ignore: ['after-comment', 'first-nested'],
},
],
},
};
Loading

0 comments on commit 2228092

Please sign in to comment.