Luke Elmers
b6287708f6
Adds AGPL 3.0 license ( #192025 )
...
Updates files outside of x-pack to be triple-licensed under Elastic
License 2.0, AGPL 3.0, or SSPL 1.0.
2024-09-06 19:02:41 -06:00
Spencer
703580f944
[eslint/module_migration] add exact option ( #137000 )
2022-07-22 14:59:14 -07:00
Esteban Beltran
a34d3d10dd
Fix wrongly suggested module paths for @kbn/eslint/module_migration rule ( #117781 )
...
* Use an alternative KIBANA_ROOT if bazel cache detected
* Use several fallbacks to find the kibana root
* Update comments
* Add test for relative import conversion
* Improve comments
* remove console log
* Improve comments
* Add second case
* improve tests filenames
2021-11-09 07:09:39 +01:00
Greg Thompson
fa03028688
Enable CSS-in-JS styling with emotion
( #98157 )
...
* emotion deps
* kbn-babel
* kbn-test
* examples
* babel-plugin-styled-components config
* css prop type fixes
* type context
* declaration location
* some emotion types resolved
* clean up
* emotion v10 accomodations
* types
* kbn-crypto
* kbn-telemetry-tools
* bazel
* eslint rule; shared file regex array
* update paths
* Update packages/kbn-eslint-plugin-eslint/rules/module_migration.js
Co-authored-by: Spencer <email@spalger.com>
* remove placeholder styles
* doc api changes
* snapshot updates
* storybook comments
* use constant
* bump new deps
* condense versions
Co-authored-by: Spencer <email@spalger.com>
2021-07-09 13:42:50 -05:00
Spencer
407b96e021
[eslint/module-migration] add support for re-export defs and test rule ( #102840 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 14:28:10 -07:00
Brandon Kobel
4584a8b570
Elastic License 2.0 ( #90099 )
...
* Updating everything except the license headers themselves
* Applying ESLint rules
* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00
Brandon Kobel
170a2956c8
Updating the License ( #88343 )
...
* Updating the Licenses, except for applying eslint, building
* Applying ESLint rules,building @kbn/pm, regenerating api docs
2021-01-19 17:52:56 -08:00
restrry
bf04235dae
apply prettier styles
2020-05-22 09:08:58 +02:00
Spencer
3bc803e371
[mkdirp] remove in favor of recursive fs.mkdir ( #47251 )
...
* [mkdirp] remove in favor of recursive fs.mkdir
* add eslint rule to educate future contributors
* reword the eslint error message to prevent copy-pasting callback code
* Commit updated kbn-pm dist
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Fix typo
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-04 08:15:06 -07:00
Tiago Costa
ed795d28ee
Migrate from tslint ( #33826 )
...
* 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.
2019-04-05 17:45:23 +01:00
Spencer
2e232c2e31
[@kbn/expect] "fork" expect.js into repo ( #33761 )
...
* [@kbn/expect] "fork" expect.js into repo
* [eslint] autofix references to expect.js
* [tslint] autofix all expect.js imports
* now that expect.js is in strict mode, avoid reassigning fn.length
2019-03-25 09:56:48 -07:00