Merge branch 'i/5696'
Showing
.stylelintrc
0 → 100644
... | @@ -53,6 +53,7 @@ | ... | @@ -53,6 +53,7 @@ |
"eslint-config-ckeditor5": "^2.0.0", | "eslint-config-ckeditor5": "^2.0.0", | ||
"husky": "^1.3.1", | "husky": "^1.3.1", | ||
"lint-staged": "^7.0.0", | "lint-staged": "^7.0.0", | ||
"stylelint": "^11.1.1", | |||
"postcss-loader": "^3.0.0", | "postcss-loader": "^3.0.0", | ||
"raw-loader": "^3.1.0", | "raw-loader": "^3.1.0", | ||
"style-loader": "^1.0.0", | "style-loader": "^1.0.0", | ||
... | @@ -75,11 +76,15 @@ | ... | @@ -75,11 +76,15 @@ |
"scripts": { | "scripts": { | ||
"build": "webpack --mode production", | "build": "webpack --mode production", | ||
"lint": "eslint --quiet '**/*.js'", | "lint": "eslint --quiet '**/*.js'", | ||
"stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'", | |||
"preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi" | "preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi" | ||
}, | }, | ||
"lint-staged": { | "lint-staged": { | ||
"**/*.js": [ | "**/*.js": [ | ||
"eslint --quiet" | "eslint --quiet" | ||
], | |||
"**/*.css": [ | |||
"stylelint --quiet --allow-empty-input" | |||
] | ] | ||
}, | }, | ||
"eslintIgnore": [ | "eslintIgnore": [ | ||
... | ... |
Please register or sign in to comment