@alexlit/config-stylelint 60.12.0 → 60.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/vendor/stylelint-color-format/package.json +0 -37
- package/vendor/stylelint-color-format/.circleci/config.yml +0 -18
- package/vendor/stylelint-color-format/.travis.yml +0 -11
- package/vendor/stylelint-color-format/LICENSE.md +0 -20
- package/vendor/stylelint-color-format/README.md +0 -64
- package/vendor/stylelint-color-format/rules/color-format/format.test.js +0 -70
- package/vendor/stylelint-color-format/tags +0 -140
package/package.json
CHANGED
|
@@ -3,13 +3,6 @@
|
|
|
3
3
|
"version": "1.1.0",
|
|
4
4
|
"description": "Convert Hex colors to either RGBA or HSLA",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"lint": "xo",
|
|
8
|
-
"test": "node rules/color-format/format.test.js",
|
|
9
|
-
"precommit": "lint-staged",
|
|
10
|
-
"prettier:check": "prettier '**/*.js' --list-different",
|
|
11
|
-
"prettier:fix": "prettier '**/*.js' --write"
|
|
12
|
-
},
|
|
13
6
|
"repository": {
|
|
14
7
|
"type": "git",
|
|
15
8
|
"url": "git+https://github.com/filipekiss/stylelint-color-format.git"
|
|
@@ -45,36 +38,6 @@
|
|
|
45
38
|
"url": "https://github.com/filipekiss/stylelint-color-format/issues"
|
|
46
39
|
},
|
|
47
40
|
"homepage": "https://github.com/filipekiss/stylelint-color-format#readme",
|
|
48
|
-
"xo": {
|
|
49
|
-
"space": 2,
|
|
50
|
-
"extends": [
|
|
51
|
-
"stylelint"
|
|
52
|
-
],
|
|
53
|
-
"prettier": true,
|
|
54
|
-
"overrides": [
|
|
55
|
-
{
|
|
56
|
-
"files": "**/*.test.js",
|
|
57
|
-
"rules": {
|
|
58
|
-
"node/no-unpublished-require": 0,
|
|
59
|
-
"unicorn/import-index": 0
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"prettier": {
|
|
65
|
-
"semi": true,
|
|
66
|
-
"singleQuote": true,
|
|
67
|
-
"trailingComma": "es5",
|
|
68
|
-
"bracketSpacing": false,
|
|
69
|
-
"arrowParens": "avoid"
|
|
70
|
-
},
|
|
71
|
-
"lint-staged": {
|
|
72
|
-
"*.js": [
|
|
73
|
-
"npm test",
|
|
74
|
-
"prettier --write",
|
|
75
|
-
"git add"
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
41
|
"engines": {
|
|
79
42
|
"node": ">=7"
|
|
80
43
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
jobs:
|
|
3
|
-
build:
|
|
4
|
-
docker:
|
|
5
|
-
- image: circleci/node:erbium
|
|
6
|
-
working_directory: ~/repo
|
|
7
|
-
steps:
|
|
8
|
-
- checkout
|
|
9
|
-
- restore_cache:
|
|
10
|
-
keys:
|
|
11
|
-
- v1-dependencies-{{ checksum "package.json" }}
|
|
12
|
-
- v1-dependencies-
|
|
13
|
-
- run: yarn install
|
|
14
|
-
- save_cache:
|
|
15
|
-
paths:
|
|
16
|
-
- node_modules
|
|
17
|
-
key: v1-dependencies-{{ checksum "package.json" }}
|
|
18
|
-
- run: yarn lint && yarn test
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2018 Filipe Kiss
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# stylelint-color-format
|
|
2
|
-
|
|
3
|
-
[](https://circleci.com/gh/filipekiss/stylelint-color-format/tree/master)
|
|
4
|
-
[](https://travis-ci.org/filipekiss/stylelint-color-format)
|
|
5
|
-
[](https://github.com/xojs/xo)
|
|
6
|
-
[](https://github.com/prettier/prettier)
|
|
7
|
-
[](https://www.npmjs.org/package/stylelint-color-format)
|
|
9
|
-
|
|
10
|
-
A [Stylelint] plugin to convert HEX colors to either RGB or HSL formats.
|
|
11
|
-
|
|
12
|
-
## Installation
|
|
13
|
-
|
|
14
|
-
```sh
|
|
15
|
-
npm install --save-dev stylelint-color-format
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Configuration
|
|
19
|
-
|
|
20
|
-
In your [Stylelint Configuration], add the following to the plugins array.
|
|
21
|
-
(Make sure the plugins array comes **before** your rules block):
|
|
22
|
-
|
|
23
|
-
```json
|
|
24
|
-
{
|
|
25
|
-
"plugins": ["stylelint-color-format"]
|
|
26
|
-
}
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
And then, in the rules:
|
|
30
|
-
|
|
31
|
-
```json
|
|
32
|
-
{
|
|
33
|
-
"rules": {
|
|
34
|
-
"color-format/format": {
|
|
35
|
-
"format": "rgb"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Usage
|
|
42
|
-
|
|
43
|
-
The rule itself works much like the default [`color-no-hex`] rule. It will report if a HEX color format (#333, #CA4FBD and even #FFFFFFAB) is found, it will error out since the format is not what we want.
|
|
44
|
-
If you pass the `--fix` option, however, the color format will be converted to either `rgb` or `hsl`, according
|
|
45
|
-
to your configuration
|
|
46
|
-
|
|
47
|
-
## Configuration
|
|
48
|
-
|
|
49
|
-
The `color-format/format` rule accepts an object with a single `format` key.
|
|
50
|
-
|
|
51
|
-
#### `rgb` | `rgba`
|
|
52
|
-
|
|
53
|
-
This will convert any HEX colors to RGB. If the HEX color has a transparency, the RGBA format will be used.
|
|
54
|
-
|
|
55
|
-
#### `hsl` | `hsla`
|
|
56
|
-
|
|
57
|
-
This will convert any HEX colors to HSL. If the HEX color has a transparency, the HSLA format will be used.
|
|
58
|
-
|
|
59
|
-
LICENSE - [MIT]
|
|
60
|
-
|
|
61
|
-
[stylelint]: https://github.com/stylelint/stylelint/
|
|
62
|
-
[stylelint configuration]: https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md
|
|
63
|
-
[`color-no-hex`]: https://github.com/stylelint/stylelint/blob/master/lib/rules/color-no-hex/README.md
|
|
64
|
-
[mit]: LICENSE.md
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
const testRule = require('stylelint-test-rule-tape');
|
|
2
|
-
|
|
3
|
-
const {format} = require('../');
|
|
4
|
-
|
|
5
|
-
testRule(format, {
|
|
6
|
-
ruleName: format.ruleName,
|
|
7
|
-
config: {
|
|
8
|
-
format: 'rgb',
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
accept: [
|
|
12
|
-
{
|
|
13
|
-
code: '.rgb-color { color: rgb(34, 34, 34); }',
|
|
14
|
-
description: 'Valid RGB Color',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
code: '.hsla-color { color: hsl(328, 100%, 44%); }',
|
|
18
|
-
description: 'Valid HSL Color',
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
|
|
22
|
-
reject: [
|
|
23
|
-
{
|
|
24
|
-
code: '.hex-color { color: #222 ); } ',
|
|
25
|
-
message: 'Unexpected hex color "#222" (color-format/format)',
|
|
26
|
-
description: 'Valid short hex color',
|
|
27
|
-
line: 1,
|
|
28
|
-
column: 21,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
code: '.hex-color { color: #3333 ); } ',
|
|
32
|
-
message: 'Unexpected hex color "#3333" (color-format/format)',
|
|
33
|
-
description: 'Invalid Hex Color',
|
|
34
|
-
line: 1,
|
|
35
|
-
column: 21,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
code: '.hex-color { color: #444444 ); } ',
|
|
39
|
-
message: 'Unexpected hex color "#444444" (color-format/format)',
|
|
40
|
-
description: 'Valid long hex color',
|
|
41
|
-
line: 1,
|
|
42
|
-
column: 21,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
code: '.hex-color-border { border: 6px solid #222 ); } ',
|
|
46
|
-
message: 'Unexpected hex color "#222" (color-format/format)',
|
|
47
|
-
description: 'Valid short hex color in shorthand property',
|
|
48
|
-
line: 1,
|
|
49
|
-
column: 39,
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
testRule(format, {
|
|
55
|
-
ruleName: format.ruleName,
|
|
56
|
-
config: {
|
|
57
|
-
format: 'rgb',
|
|
58
|
-
message: 'Custom Error Message',
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
reject: [
|
|
62
|
-
{
|
|
63
|
-
code: '.hex-color { color: #222 ); } ',
|
|
64
|
-
message: 'Custom Error Message (color-format/format)',
|
|
65
|
-
description: 'Valid short hex color',
|
|
66
|
-
line: 1,
|
|
67
|
-
column: 21,
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
});
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
|
2
|
-
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
|
3
|
-
!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/
|
|
4
|
-
!_TAG_PROGRAM_AUTHOR Universal Ctags Team //
|
|
5
|
-
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
|
|
6
|
-
!_TAG_PROGRAM_URL https://ctags.io/ /official site/
|
|
7
|
-
!_TAG_PROGRAM_VERSION 0.0.0 /1258adf/
|
|
8
|
-
*.js package.json /^ "*.js": [$/;" a language:JSON object:lint-staged
|
|
9
|
-
0 package.json /^ "npm test",$/;" s language:JSON array:lint-staged.*.js
|
|
10
|
-
0 package.json /^ "stylelint"$/;" s language:JSON array:xo.extends
|
|
11
|
-
0 package.json /^ {$/;" o language:JSON array:xo.overrides
|
|
12
|
-
0 package.json /^ "stylelint",$/;" s language:JSON array:keywords
|
|
13
|
-
1 package.json /^ "prettier --write",$/;" s language:JSON array:lint-staged.*.js
|
|
14
|
-
1 package.json /^ "stylelint-plugin",$/;" s language:JSON array:keywords
|
|
15
|
-
2 package.json /^ "git add"$/;" s language:JSON array:lint-staged.*.js
|
|
16
|
-
2 package.json /^ "css",$/;" s language:JSON array:keywords
|
|
17
|
-
3 package.json /^ "sass",$/;" s language:JSON array:keywords
|
|
18
|
-
4 package.json /^ "scss"$/;" s language:JSON array:keywords
|
|
19
|
-
Configuration README.md /^## Configuration$/;" s language:Markdown
|
|
20
|
-
Installation README.md /^## Installation$/;" s language:Markdown
|
|
21
|
-
Usage README.md /^## Usage$/;" s language:Markdown
|
|
22
|
-
`hsl` | `hsla` README.md /^#### `hsl` | `hsla`$/;" t language:Markdown
|
|
23
|
-
`rgb` | `rgba` README.md /^#### `rgb` | `rgba`$/;" t language:Markdown
|
|
24
|
-
accept rules/color-format/format.test.js /^ accept: [$/;" P language:JavaScript
|
|
25
|
-
arrowParens package.json /^ "arrowParens": "avoid"$/;" s language:JSON object:prettier
|
|
26
|
-
author package.json /^ "author": "Filipe Kiss <eu@filipekiss.com.br>",$/;" s language:JSON
|
|
27
|
-
bracketSpacing package.json /^ "bracketSpacing": false,$/;" b language:JSON object:prettier
|
|
28
|
-
bugs package.json /^ "bugs": {$/;" o language:JSON
|
|
29
|
-
code rules/color-format/format.test.js /^ code: '.hex-color { color: #222 ); } ',$/;" P language:JavaScript
|
|
30
|
-
code rules/color-format/format.test.js /^ code: '.hex-color { color: #3333 ); } ',$/;" P language:JavaScript
|
|
31
|
-
code rules/color-format/format.test.js /^ code: '.hex-color { color: #444444 ); } ',$/;" P language:JavaScript
|
|
32
|
-
code rules/color-format/format.test.js /^ code: '.hex-color-border { border: 6px solid #222 ); } ',$/;" P language:JavaScript
|
|
33
|
-
code rules/color-format/format.test.js /^ code: '.hsla-color { color: hsl(328, 100%, 44%); }',$/;" P language:JavaScript
|
|
34
|
-
code rules/color-format/format.test.js /^ code: '.rgb-color { color: rgb(34, 34, 34); }',$/;" P language:JavaScript
|
|
35
|
-
color package.json /^ "color": "^3.0.0",$/;" s language:JSON object:dependencies
|
|
36
|
-
color rules/color-format/format.js /^ const color = colorConverter(hexColor);$/;" V language:JavaScript
|
|
37
|
-
colorConverter rules/color-format/format.js /^const colorConverter = require('color');$/;" C language:JavaScript
|
|
38
|
-
colorConverter rules/color-format/format.js /^const colorConverter = require('color');$/;" V language:JavaScript
|
|
39
|
-
colorTranslation rules/color-format/format.js /^ const colorTranslation = hexMatch.reduce((table, hexColor) => {$/;" C language:JavaScript
|
|
40
|
-
column rules/color-format/format.test.js /^ column: 21,$/;" P language:JavaScript
|
|
41
|
-
column rules/color-format/format.test.js /^ column: 39,$/;" P language:JavaScript
|
|
42
|
-
custom rules/color-format/format.js /^ custom: message => message,$/;" P language:JavaScript
|
|
43
|
-
declString rules/color-format/format.js /^ const declString = decl.toString();$/;" V language:JavaScript
|
|
44
|
-
dependencies package.json /^ "dependencies": {$/;" o language:JSON
|
|
45
|
-
description package.json /^ "description": "Convert Hex colors to either RGBA or HSLA",$/;" s language:JSON
|
|
46
|
-
description rules/color-format/format.test.js /^ description: 'Invalid Hex Color',$/;" P language:JavaScript
|
|
47
|
-
description rules/color-format/format.test.js /^ description: 'Valid HSL Color',$/;" P language:JavaScript
|
|
48
|
-
description rules/color-format/format.test.js /^ description: 'Valid RGB Color',$/;" P language:JavaScript
|
|
49
|
-
description rules/color-format/format.test.js /^ description: 'Valid long hex color',$/;" P language:JavaScript
|
|
50
|
-
description rules/color-format/format.test.js /^ description: 'Valid short hex color in shorthand property',$/;" P language:JavaScript
|
|
51
|
-
description rules/color-format/format.test.js /^ description: 'Valid short hex color',$/;" P language:JavaScript
|
|
52
|
-
devDependencies package.json /^ "devDependencies": {$/;" o language:JSON
|
|
53
|
-
engines package.json /^ "engines": {$/;" o language:JSON
|
|
54
|
-
eslint-config-stylelint package.json /^ "eslint-config-stylelint": "^8.1.0",$/;" s language:JSON object:devDependencies
|
|
55
|
-
extends package.json /^ "extends": [$/;" a language:JSON object:xo
|
|
56
|
-
files package.json /^ "files": "**\/*.test.js",$/;" s language:JSON object:xo.overrides.0
|
|
57
|
-
fixColorFormat rules/color-format/format.js /^const fixColorFormat = (value, fixer) => {$/;" C language:JavaScript
|
|
58
|
-
fixPositions rules/color-format/format.js /^ const fixPositions = [];$/;" A language:JavaScript
|
|
59
|
-
fixTo rules/color-format/format.js /^ fixTo: actual.format,$/;" P language:JavaScript
|
|
60
|
-
format rules/color-format/format.js /^ format: ['rgb', 'rgba', 'hsl', 'hsla'],$/;" P language:JavaScript
|
|
61
|
-
format rules/color-format/format.test.js /^ format: 'hsl',$/;" P language:JavaScript
|
|
62
|
-
format rules/color-format/format.test.js /^ format: 'rgb',$/;" P language:JavaScript
|
|
63
|
-
format rules/index.js /^ format: require('.\/color-format\/format'),$/;" P language:JavaScript
|
|
64
|
-
hexMatch rules/color-format/format.js /^ const hexMatch = value.match(\/#[0-9A-Za-z]+\/g);$/;" C language:JavaScript
|
|
65
|
-
homepage package.json /^ "homepage": "https:\/\/github.com\/filipekiss\/stylelint-color-format#readme",$/;" s language:JSON
|
|
66
|
-
husky package.json /^ "husky": "^0.14.3",$/;" s language:JSON object:devDependencies
|
|
67
|
-
if rules/color-format/format.js /^ if (!\/[:,\\s]\/.test(declString[match.startIndex - 1])) {$/;" M language:JavaScript
|
|
68
|
-
if rules/color-format/format.js /^ if (!hexMatch) {$/;" M language:JavaScript
|
|
69
|
-
if rules/color-format/format.js /^ if (context && context.fix) {$/;" M language:JavaScript
|
|
70
|
-
if rules/color-format/format.js /^ if (fixPositions.length > 0) {$/;" M language:JavaScript
|
|
71
|
-
if rules/color-format/format.js /^ if (!validOptions) {$/;" M language:JavaScript
|
|
72
|
-
if rules/color-format/format.js /^ if (fixer.fixTo.indexOf('hsl') > -1) {$/;" M language:JavaScript
|
|
73
|
-
if rules/color-format/format.js /^ if (!hexMatch) {$/;" M language:JavaScript
|
|
74
|
-
if rules/color-format/format.js /^ if (!value) {$/;" M language:JavaScript
|
|
75
|
-
index rules/color-format/format.js /^ index: match.startIndex,$/;" P language:JavaScript
|
|
76
|
-
keywords package.json /^ "keywords": [$/;" a language:JSON
|
|
77
|
-
license package.json /^ "license": "MIT",$/;" s language:JSON
|
|
78
|
-
line rules/color-format/format.test.js /^ line: 1,$/;" P language:JavaScript
|
|
79
|
-
lint package.json /^ "lint": "xo",$/;" s language:JSON object:scripts
|
|
80
|
-
lint-staged package.json /^ "lint-staged": "^7.1.0",$/;" s language:JSON object:devDependencies
|
|
81
|
-
lint-staged package.json /^ "lint-staged": {$/;" o language:JSON
|
|
82
|
-
main package.json /^ "main": "index.js",$/;" s language:JSON
|
|
83
|
-
message rules/color-format/format.js /^ message: message,$/;" P language:JavaScript
|
|
84
|
-
message rules/color-format/format.test.js /^ message: 'Custom Error Message (color-format\/format)',$/;" P language:JavaScript
|
|
85
|
-
message rules/color-format/format.test.js /^ message: 'Unexpected hex color "#222" (color-format\/format)',$/;" P language:JavaScript
|
|
86
|
-
message rules/color-format/format.test.js /^ message: 'Unexpected hex color "#3333" (color-format\/format)',$/;" P language:JavaScript
|
|
87
|
-
message rules/color-format/format.test.js /^ message: 'Unexpected hex color "#444444" (color-format\/format)',$/;" P language:JavaScript
|
|
88
|
-
message rules/color-format/format.test.js /^ message: 'Custom Error Message',$/;" P language:JavaScript
|
|
89
|
-
messages rules/color-format/format.js /^const messages = ruleMessages(ruleName, {$/;" C language:JavaScript
|
|
90
|
-
name package.json /^ "name": "stylelint-color-format",$/;" s language:JSON
|
|
91
|
-
node package.json /^ "node": ">=7"$/;" s language:JSON object:engines
|
|
92
|
-
node rules/color-format/format.js /^ node: decl,$/;" P language:JavaScript
|
|
93
|
-
node/no-unpublished-require package.json /^ "node\/no-unpublished-require": 0,$/;" n language:JSON object:xo.overrides.0.rules
|
|
94
|
-
np package.json /^ "np": "^2.20.1",$/;" s language:JSON object:devDependencies
|
|
95
|
-
overrides package.json /^ "overrides": [$/;" a language:JSON object:xo
|
|
96
|
-
peerDependencies package.json /^ "peerDependencies": {$/;" o language:JSON
|
|
97
|
-
precommit package.json /^ "precommit": "lint-staged",$/;" s language:JSON object:scripts
|
|
98
|
-
prettier package.json /^ "prettier": "^1.12.1",$/;" s language:JSON object:devDependencies
|
|
99
|
-
prettier package.json /^ "prettier": true,$/;" b language:JSON object:xo
|
|
100
|
-
prettier package.json /^ "prettier": {$/;" o language:JSON
|
|
101
|
-
prettier:check package.json /^ "prettier:check": "prettier '**\/*.js' --list-different",$/;" s language:JSON object:scripts
|
|
102
|
-
prettier:fix package.json /^ "prettier:fix": "prettier '**\/*.js' --write"$/;" s language:JSON object:scripts
|
|
103
|
-
reject rules/color-format/format.test.js /^ reject: [$/;" P language:JavaScript
|
|
104
|
-
rejected rules/color-format/format.js /^ rejected: hex => `Unexpected hex color "${hex}"`,$/;" P language:JavaScript
|
|
105
|
-
repository package.json /^ "repository": {$/;" o language:JSON
|
|
106
|
-
rule rules/color-format/format.js /^const rule = function(actual, options, context) {$/;" r language:JavaScript
|
|
107
|
-
ruleName rules/color-format/format.js /^const ruleName = 'color-format\/format';$/;" C language:JavaScript
|
|
108
|
-
ruleName rules/color-format/format.js /^const ruleName = 'color-format\/format';$/;" V language:JavaScript
|
|
109
|
-
ruleName rules/color-format/format.test.js /^ ruleName: format.ruleName,$/;" P language:JavaScript
|
|
110
|
-
rules index.js /^const rules = require('.\/rules');$/;" C language:JavaScript
|
|
111
|
-
rules index.js /^const rules = require('.\/rules');$/;" V language:JavaScript
|
|
112
|
-
rules package.json /^ "rules": {$/;" o language:JSON object:xo.overrides.0
|
|
113
|
-
scripts package.json /^ "scripts": {$/;" o language:JSON
|
|
114
|
-
semi package.json /^ "semi": true,$/;" b language:JSON object:prettier
|
|
115
|
-
singleQuote package.json /^ "singleQuote": true,$/;" b language:JSON object:prettier
|
|
116
|
-
space package.json /^ "space": 2,$/;" n language:JSON object:xo
|
|
117
|
-
standard-version package.json /^ "standard-version": "^7.1.0",$/;" s language:JSON object:devDependencies
|
|
118
|
-
startIndex rules/color-format/format.js /^ startIndex: match.startIndex,$/;" P language:JavaScript
|
|
119
|
-
style-search package.json /^ "style-search": "^0.1.0"$/;" s language:JSON object:dependencies
|
|
120
|
-
styleSearch rules/color-format/format.js /^const styleSearch = require('style-search');$/;" C language:JavaScript
|
|
121
|
-
styleSearch rules/color-format/format.js /^const styleSearch = require('style-search');$/;" V language:JavaScript
|
|
122
|
-
stylelint package.json /^ "stylelint": ">=8.0.0"$/;" s language:JSON object:peerDependencies
|
|
123
|
-
stylelint package.json /^ "stylelint": ">=8.0.0",$/;" s language:JSON object:devDependencies
|
|
124
|
-
stylelint rules/color-format/format.js /^const stylelint = require('stylelint');$/;" C language:JavaScript
|
|
125
|
-
stylelint rules/color-format/format.js /^const stylelint = require('stylelint');$/;" V language:JavaScript
|
|
126
|
-
stylelint-color-format README.md /^# stylelint-color-format$/;" c language:Markdown
|
|
127
|
-
stylelint-color-format README.md /^# stylelint-color-format$/;" h language:Markdown
|
|
128
|
-
stylelint-test-rule-tape package.json /^ "stylelint-test-rule-tape": "^0.2.0",$/;" s language:JSON object:devDependencies
|
|
129
|
-
test package.json /^ "test": "node rules\/color-format\/format.test.js",$/;" s language:JSON object:scripts
|
|
130
|
-
testRule rules/color-format/format.test.js /^const testRule = require('stylelint-test-rule-tape');$/;" C language:JavaScript
|
|
131
|
-
testRule rules/color-format/format.test.js /^const testRule = require('stylelint-test-rule-tape');$/;" V language:JavaScript
|
|
132
|
-
trailingComma package.json /^ "trailingComma": "es5",$/;" s language:JSON object:prettier
|
|
133
|
-
type package.json /^ "type": "git",$/;" s language:JSON object:repository
|
|
134
|
-
unicorn/import-index package.json /^ "unicorn\/import-index": 0$/;" n language:JSON object:xo.overrides.0.rules
|
|
135
|
-
url package.json /^ "url": "git+https:\/\/github.com\/filipekiss\/stylelint-color-format.git"$/;" s language:JSON object:repository
|
|
136
|
-
url package.json /^ "url": "https:\/\/github.com\/filipekiss\/stylelint-color-format\/issues"$/;" s language:JSON object:bugs
|
|
137
|
-
value rules/color-format/format.js /^ value = value.replace(hexColor, fixedColor);$/;" P language:JavaScript
|
|
138
|
-
version package.json /^ "version": "1.0.0",$/;" s language:JSON
|
|
139
|
-
xo package.json /^ "xo": "^0.24.0"$/;" s language:JSON object:devDependencies
|
|
140
|
-
xo package.json /^ "xo": {$/;" o language:JSON
|