Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: stylelint-config-eyeo/index.js

Issue 29541680: Issue 5109 - Create stylelintrc for websites and ui modules (Closed) Base URL: https://hg.adblockplus.org/codingtools
Left Patch Set: Remove rules about inner spacing between braces, reword rule descriptions Created Nov. 15, 2017, 6:37 a.m.
Right Patch Set: Fix trailing whitespace errors Created Dec. 14, 2017, 10:38 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « stylelint-config-eyeo/README.md ('k') | stylelint-config-eyeo/package.json » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "rule-empty-line-before": ["always", { 42 "rule-empty-line-before": ["always", {
43 "ignore": ["after-comment", "first-nested"] 43 "ignore": ["after-comment", "first-nested"]
44 }], 44 }],
45 45
46 // Use double over single quotation marks 46 // Use double over single quotation marks
47 "string-quotes": "double", 47 "string-quotes": "double",
48 48
49 // CSS color values should be specified in hexadecimal where possible 49 // CSS color values should be specified in hexadecimal where possible
50 "color-named": "never", 50 "color-named": "never",
51 51
52 // Use 3 character hexadecimal notation where possible 52 // Use short hexadecimal notation where possible
53 "color-hex-length": "short", 53 "color-hex-length": "short",
54 54
55 // Don't omit the optional leading 0 for decimal numbers 55 // Don't omit the optional leading 0 for decimal numbers
56 "number-leading-zero": "always", 56 "number-leading-zero": "always",
57 "number-no-trailing-zeros": true, 57 "number-no-trailing-zeros": true,
58 58
59 // Two spaces per logic level 59 // Two spaces per logic level
60 "indentation": 2, 60 "indentation": 2,
61 61
62 // Line length should be 80 characters or less 62 // Line length should be 80 characters or less
63 "max-line-length": 80, 63 "max-line-length": 80,
64 64
65 // Avoid qualifying ID and class names with type selectors 65 // Avoid qualifying ID and class names with type selectors
66 "selector-no-qualifying-type": [true, { 66 "selector-no-qualifying-type": [true, {
67 "ignore": ["attribute"] 67 "ignore": ["attribute"]
68 }] 68 }]
69 } 69 }
70 }; 70 };
LEFTRIGHT

Powered by Google App Engine
This is Rietveld