mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-10 09:52:18 +02:00
1c751472b2
* transplite tests for higher target * fix test * add to lint-stagged too
15 lines
461 B
JavaScript
15 lines
461 B
JavaScript
module.exports = {
|
|
'*.js': ['eslint --fix --quiet -f visualstudio', 'git add'],
|
|
'*.{ts,scss,yaml,yml,md,html,json,babelrc,eslintrc}': [
|
|
'prettier --write',
|
|
'git add',
|
|
],
|
|
'src/icons/*.svg': [
|
|
'prettier --write --parser=html --html-whitespace-sensitivity=ignore',
|
|
'git add',
|
|
],
|
|
'.codecov.yml': () =>
|
|
'curl -f --silent --data-binary @.codecov.yml https://codecov.io/validate',
|
|
'src/scripts/**/*.js': () => 'npm run test:unit',
|
|
};
|