Addresses https://github.com/elastic/kibana/issues/17061 ### Features Covered - generating a plugin #### Then from within the generated plugin's directory - running `yarn build` - running `yarn test:browser` - running `yarn test:server` - running `yarn start` - running `yarn preinstall` - running `yarn lint` - running `yarn kbn --help` - running `yarn es --help`
25 lines
554 B
JavaScript
Executable file
25 lines
554 B
JavaScript
Executable file
module.exports = {
|
|
root: true,
|
|
extends: ['@elastic/eslint-config-kibana', 'plugin:@elastic/eui/recommended'],
|
|
settings: {
|
|
'import/resolver': {
|
|
'@kbn/eslint-import-resolver-kibana': {
|
|
rootPackageName: '<%= snakeCase(name) %>',
|
|
},
|
|
},
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['**/public/**/*'],
|
|
settings: {
|
|
'import/resolver': {
|
|
'@kbn/eslint-import-resolver-kibana': {
|
|
forceNode: false,
|
|
rootPackageName: '<%= snakeCase(name) %>',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
]
|
|
};
|