Skip to content

Commit

Permalink
Add stylelint-config-base (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty authored Jun 15, 2020
1 parent 6c0ab11 commit 8760923
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/stylelint-config-base/.npmrc
18 changes: 18 additions & 0 deletions packages/stylelint-config-base/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
extends: [
'stylelint-config-twbs-bootstrap/css',
'stylelint-config-css-modules',
'stylelint-prettier/recommended',
],
rules: {
'at-rule-no-unknown': [true, { ignoreAtRules: ['extend'] }],
'max-nesting-depth': [
3,
{ ignore: ['blockless-at-rules', 'pseudo-classes'] },
],
'rule-empty-line-before': [
'always',
{ except: ['after-single-line-comment', 'first-nested'] },
],
},
}
22 changes: 22 additions & 0 deletions packages/stylelint-config-base/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "@oacore/stylelint-config-base",
"version": "1.0.5",
"description": "Global stylelint configuration across our projects",
"author": "CORE Team <[email protected]>",
"homepage": "https://github.com/oacore/configs#readme",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/oacore/configs.git",
"directory": "@oacore/configs"
},
"dependencies": {
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-twbs-bootstrap": "^2.0.3",
"stylelint-prettier": "^1.1.2"
},
"peerDependencies": {
"stylelint": ">=13.6.0"
}
}

0 comments on commit 8760923

Please sign in to comment.