* chore(NA): remove tslint dependencies, configs and enable eslint typescript parser. * fix(NA): apply recommend eslint typescript rule.s * chore(NA): upgrade eslint package versions. * chore(NA): split javascript eslint config in an override section. * chore(NA): split all eslint configs with overrides. * chore(NA): remove missing console.log. * chore(NA): change eslint splits and overrides order. * chore(NA): replace tslint disable comments with eslint ones. * chore(NA): solve eslint typescript errors for elastic/kibana-custom/no-default-export * chore(NA): fixed multiple eslint typescript rule failures. * chore(NA): add tarfet folder to the eslint ignore. * chore(NA): apply prettier rule to ts type file. * chore(NA): remove last mentions to tslint * chore(NA): add old defined rules * chore(NA): missing port rules website * chore(na): ordered rules * chore(NA): solved eslint typescript problems. * chore(NA): fix spaced comment problems. * chore(NA): fix some more eslint typescript rules: import/order no-empty-interface * chore(NA): fix last rules and comment out what are the ones still failing. * chore(NA): comment out camelcase rule. * chore(NA): regenerate kbn pm dist. * chore(NA): updated snapshots. * chore(NA): updated snapshots. * chore(NA): disabled sort-keys rule. * chore(NA): remove rule prefer-arrow/prefer-arrow-functions. * chore(NA): fix for @typescript-eslint/no-var-requires rule. * chore(NA): fixes for @typescript-eslint/camelcase rule. * chore(NA): fix typo on eslint config kibana typescript. Co-Authored-By: mistic <tiagoffcc@hotmail.com> * chore(NA): remove legacy note after the intellij upgrade to 2019.1 * fix(NA): import order plugin. * chore(NA): fix ts ignore positions after auto fix. * fix(NA): performance issue with typescript eslint. * refact(NA): eslint configs organization. * chore(NA): apply resticted paths to ts files too. * chore(NA): split comment from eslint ignore.
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"name": "<%= snakeCase(name) %>",
|
|
"version": "0.0.0",
|
|
"description": "<%= description %>",
|
|
"main": "index.js",
|
|
"kibana": {
|
|
"version": "<%= (kbnVersion === 'master') ? 'kibana' : kbnVersion %>",
|
|
"templateVersion": "<%= templateVersion %>"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "node ../../preinstall_check",
|
|
"kbn": "node ../../scripts/kbn",
|
|
"es": "node ../../scripts/es",
|
|
"lint": "eslint .",
|
|
"start": "plugin-helpers start",
|
|
"test:server": "plugin-helpers test:server",
|
|
"test:browser": "plugin-helpers test:browser",
|
|
"build": "plugin-helpers build"
|
|
},
|
|
<%_ if (generateTranslations) { _%>
|
|
"dependencies": {
|
|
"@kbn/i18n": "link:../../packages/kbn-i18n"
|
|
},
|
|
<%_ } _%>
|
|
"devDependencies": {
|
|
"@elastic/eslint-config-kibana": "link:../../packages/eslint-config-kibana",
|
|
"@elastic/eslint-import-resolver-kibana": "link:../../packages/kbn-eslint-import-resolver-kibana",
|
|
"@kbn/expect": "link:../../packages/kbn-expect",
|
|
"@kbn/plugin-helpers": "link:../../packages/kbn-plugin-helpers",
|
|
"babel-eslint": "^10.0.1",
|
|
"eslint": "^5.16.0",
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"eslint-plugin-jest": "^22.4.1",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-mocha": "^5.3.0",
|
|
"eslint-plugin-no-unsanitized": "^3.0.2",
|
|
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
|
"eslint-plugin-react": "^7.12.4"
|
|
}
|
|
}
|