Add stylelint config

This commit is contained in:
Sean King
2020-10-11 14:12:56 -06:00
parent a2777a76fc
commit 2b369e7753
4 changed files with 1042 additions and 586 deletions

View File

@ -22,7 +22,7 @@
"test": "${npm_execpath} run test:lint && ${npm_execpath} run test:jest",
"test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
"test:lint:js": "npx eslint --ext=js . --cache",
"test:lint:sass": "npx sass-lint -v",
"test:lint:sass": "npx stylelint app/styles/**.scss app/styles/**/*.scss",
"test:jest": "npx jest --coverage"
},
"license": "AGPL-3.0-or-later",
@ -150,7 +150,9 @@
"react-intl-translations-manager": "^5.0.3",
"react-test-renderer": "^16.13.1",
"redux-mock-store": "^1.5.4",
"sass-lint": "^1.13.1",
"stylelint": "^13.7.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.18.0",
"webpack-dev-server": "^3.5.1",
"yargs": "^16.0.3"
}