mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-02 22:03:11 +02:00
472e0dff39
* switch to lint-stagged * separate prettier config into external file * recommend and configure VSCode extensions
15 lines
449 B
JavaScript
15 lines
449 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': () => 'mocha',
|
|
};
|