File tree Expand file tree Collapse file tree 6 files changed +129
-0
lines changed
packages/stylelint-config-airbnb Expand file tree Collapse file tree 6 files changed +129
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends": "airbnb-base"
3+ }
Original file line number Diff line number Diff line change 1+ node_modules
2+ npm-debug.log
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ plugins : [
3+ 'stylelint-scss' ,
4+ 'stylelint-value-border-zero' ,
5+ ] ,
6+ rules : {
7+ 'at-rule-empty-line-before' : 'never' ,
8+ 'block-opening-brace-space-before' : 'always' ,
9+ 'comment-empty-line-before' : [ 'always' , {
10+ ignore : [ 'stylelint-commands' ] ,
11+ } ] ,
12+ 'declaration-colon-space-after' : 'always' ,
13+ 'declaration-colon-space-before' : 'never' ,
14+ indentation : 2 ,
15+ 'max-nesting-depth' : 3 ,
16+ 'no-invalid-double-slash-comments' : true ,
17+ 'rule-non-nested-empty-line-before' : [ 'always' , {
18+ ignore : [ 'after-comment' ] ,
19+ } ] ,
20+ 'selector-list-comma-newline-after' : 'always' ,
21+ 'selector-no-id' : true ,
22+
23+ 'scss/dollar-variable-pattern' : '^foo' ,
24+ 'scss/at-extend-no-missing-placeholder' : true ,
25+
26+ 'value-border-zero' : {
27+ convention : '0' ,
28+ } ,
29+ } ,
30+ } ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " stylelint-config-airbnb" ,
3+ "version" : " 0.0.0" ,
4+ "description" : " Airbnb's stylelint config, following our styleguide" ,
5+ "main" : " index.js" ,
6+ "scripts" : {
7+ "lint" : " eslint ." ,
8+ "test" : " npm run lint"
9+ },
10+ "repository" : {
11+ "type" : " git" ,
12+ "url" : " git+https://github.com/airbnb/css.git"
13+ },
14+ "keywords" : [
15+ " airbnb" ,
16+ " css" ,
17+ " lint" ,
18+ " stylelint" ,
19+ " stylelint-config" ,
20+ " stylelint-config-airbnb"
21+ ],
22+ "author" : " Stephen Edgar" ,
23+ "license" : " MIT" ,
24+ "bugs" : {
25+ "url" : " https://github.com/airbnb/css/issues"
26+ },
27+ "homepage" : " https://github.com/airbnb/css#readme" ,
28+ "devDependencies" : {
29+ "eslint" : " ^3.0.1" ,
30+ "eslint-config-airbnb-base" : " ^4.0.0" ,
31+ "eslint-plugin-import" : " ^1.10.2" ,
32+ "stylelint" : " ^6.9.0" ,
33+ "stylelint-scss" : " ^1.2.1" ,
34+ "stylelint-value-border-zero" : " ^1.0.2"
35+ },
36+ "peerDependencies" : {
37+ "stylelint" : " ^6.9.0" ,
38+ "stylelint-scss" : " ^1.2.1"
39+ }
40+ }
Original file line number Diff line number Diff line change 1+ .avatar {
2+ border-radius : 50% ;
3+ border : 2px solid white; }
4+ .no , .nope , .not_good {
5+ border : none;
6+ }
7+ # lol-no {
8+ border : none;
9+ }
10+
11+ .foo {
12+ border : none;
13+ }
14+
15+ .page-container {
16+ .content {
17+ .profile {
18+ .toodeep {
19+
20+ }
21+ }
22+ }
23+ }
Original file line number Diff line number Diff line change 1+ .avatar {
2+ border-radius : 50% ;
3+ border : 2px solid white;
4+ }
5+
6+ .one ,
7+ .selector ,
8+ .per-line {
9+ border : 2px ;
10+ }
11+
12+ .foo {
13+ border : 0 ;
14+ }
15+
16+ .btn {
17+ background : green;
18+ font-weight : bold;
19+ @include transition (background 0.5s ease);
20+
21+ .icon {
22+ margin-right : 10px ;
23+ }
24+ }
25+
26+ .page-container {
27+ .content {
28+ .profile {
29+ }
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments