Skip to content

Commit 0f193ea

Browse files
committed
Replace csscomb with stylelint
See [stylelint](https://github.com/stylelint/stylelint) and [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) - Update styles with new validation rules - Remove unused `TextBox` component
1 parent 0de4958 commit 0f193ea

File tree

16 files changed

+58
-441
lines changed

16 files changed

+58
-441
lines changed

.csscomb.json

Lines changed: 0 additions & 303 deletions
This file was deleted.

.csslintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"browser-sync": "^2.11.1",
5454
"core-js": "^2.1.4",
5555
"css-loader": "^0.23.1",
56-
"csscomb": "^3.1.8",
5756
"del": "^2.2.0",
5857
"enzyme": "^2.1.0",
5958
"eslint": "^2.3.0",
@@ -83,6 +82,8 @@
8382
"react-transform-hmr": "^1.0.4",
8483
"redbox-react": "^1.2.2",
8584
"replace": "^0.3.0",
85+
"stylelint": "^5.0.1",
86+
"stylelint-config-standard": "^4.0.1",
8687
"url-loader": "^0.5.7",
8788
"webpack": "^1.12.14",
8889
"webpack-hot-middleware": "^2.10.0",
@@ -109,11 +110,18 @@
109110
"enzyme"
110111
]
111112
},
113+
"stylelint": {
114+
"extends": "stylelint-config-standard",
115+
"rules": {
116+
"string-quotes": "single"
117+
}
118+
},
112119
"scripts": {
113-
"lint": "eslint src tools && jscs src tools --verbose",
114-
"csslint": "csscomb src/components --lint --verbose",
115-
"csscomb": "csscomb src/components --verbose",
116-
"test": "eslint src && jest",
120+
"eslint": "eslint src tools",
121+
"jscs": "jscs src tools --verbose",
122+
"stylelint": "stylelint \"src/**/*.scss\" --syntax scss",
123+
"lint": "npm run eslint && npm run jscs && npm run stylelint",
124+
"test": "npm run lint && jest",
117125
"clean": "babel-node tools/run clean",
118126
"copy": "babel-node tools/run copy",
119127
"bundle": "babel-node tools/run bundle",

0 commit comments

Comments
 (0)