b604911720
* Create KuiButton, KuiLinkButton, KuiSubmitButton, and KuiButtonIcon React components in UI Framework. * Add Jest test coverage for UI Framework, generate report in ui_framework/jest/report. * Add UI Framework to linting task. * Update UI Framework README with instructions on creating and testing React components. * Add both React and HTML examples. * Add UI Framework Jest tests to npm test script. Create separate scripts for watching and generating coverage reports. * Fix appearance of kuiButtons with icons throughout Kibana, by adding a flexbox wrapper. * Improve accessibility of kuiButtonIcon. * Remove disabled attribute from KuiLinkButton. * Remove kuiButton-isDisabled class from KuiButton and KuiSubmitButton.
37 lines
634 B
JavaScript
37 lines
634 B
JavaScript
import { resolve } from 'path';
|
|
export default grunt => ({
|
|
options: {
|
|
paths: [
|
|
'Gruntfile.js',
|
|
'bin',
|
|
'config',
|
|
'src',
|
|
'scripts',
|
|
'tasks',
|
|
'test',
|
|
'ui_framework/components',
|
|
'ui_framework/doc_site',
|
|
'utilities',
|
|
],
|
|
},
|
|
|
|
source: {
|
|
options: {
|
|
cache: resolve(grunt.config.get('root'), '.eslint.fixSource.cache')
|
|
}
|
|
},
|
|
|
|
fixSource: {
|
|
options: {
|
|
cache: resolve(grunt.config.get('root'), '.eslint.fixSource.cache'),
|
|
fix: true
|
|
}
|
|
},
|
|
|
|
staged: {
|
|
options: {
|
|
paths: null // overridden by lintStagedFiles task
|
|
}
|
|
}
|
|
});
|