Skip to content

Commit

Permalink
Task/update dependencies 2021 11 24 (#32)
Browse files Browse the repository at this point in the history
* Update dependencies & peerdependencies
* Switches from eslint-config-bitcrowd-base to eslint-config-airbnb-base
  • Loading branch information
planktonic authored Nov 24, 2021
1 parent 9b12aaf commit ba789af
Show file tree
Hide file tree
Showing 6 changed files with 558 additions and 931 deletions.
2 changes: 1 addition & 1 deletion linting/stylelint-config-bitcrowd/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "bitcrowd-base"
"extends": "airbnb-base"
}
1 change: 1 addition & 0 deletions linting/stylelint-config-bitcrowd/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 14.18.1
6 changes: 4 additions & 2 deletions linting/stylelint-config-bitcrowd/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Object.assign = Object.assign || require('object-assign'); // eslint-disable-line global-require
module.exports = Object.assign({ extends: 'stylelint-config-standard' }, require('./overrides'));
/* eslint-disable global-require */
Object.assign = Object.assign || require('object-assign');

module.exports = { extends: 'stylelint-config-standard', ...require('./overrides') };
10 changes: 5 additions & 5 deletions linting/stylelint-config-bitcrowd/overrides.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: [
'stylelint-order'
'stylelint-order',
],
rules: {
'order/properties-order': [
Expand Down Expand Up @@ -150,11 +150,11 @@ module.exports = {
'page',
'set-link-source',
'unicode-bidi',
'speak'
'speak',
],
'at-rule-no-vendor-prefix': true,
'at-rule-no-unknown': [true, {
ignoreAtRules: ['function', 'if', 'return', 'mixin', 'include', 'each']
ignoreAtRules: ['function', 'if', 'return', 'mixin', 'include', 'each'],
}],
'media-feature-name-no-vendor-prefix': true,
'property-no-vendor-prefix': true,
Expand All @@ -166,6 +166,6 @@ module.exports = {
'declaration-block-no-duplicate-properties': true,
'no-unknown-animations': true,
'selector-max-type': 0,
'no-descending-specificity': true
}
'no-descending-specificity': true,
},
};
Loading

0 comments on commit ba789af

Please sign in to comment.