Skip to content

[6.x] Move eslint-config-kibana into core (#12725)#13124

Merged
cjcenizal merged 1 commit intoelastic:6.xfrom
cjcenizal:backport/12725/6.x
Jul 26, 2017
Merged

[6.x] Move eslint-config-kibana into core (#12725)#13124
cjcenizal merged 1 commit intoelastic:6.xfrom
cjcenizal:backport/12725/6.x

Conversation

@cjcenizal
Copy link
Contributor

Backports #12725

CC @kjbekkelund

* Initial commit

* added actual config

* version 0.0.1

* version 0.0.2

* [no-const-assign] Disallow assignment to const

http://eslint.org/docs/rules/no-const-assign

* [no-redeclare] Disallow redeclaring variables

http://eslint.org/docs/rules/no-redeclare

* version 0.0.3

* [no-unused-vars]: Disallow declaration of variables that are not used in the code.

* Bump to 0.1.0.

* upgrade deps in preperation for babel6 transition

* 0.2.0-alpha1

* use yaml for readability

* 0.2.0

* update/pin peed dependency versions

* 0.2.1

* [quotes] allow template literals

This allows eslint to validate this rule from the styleguide: https://github.com/elastic/kibana/blob/master/style_guides/js_style_guide.md#use-template-strings-to-avoid-escaping-single-quotes

* 0.2.2

* add object-curly-spacing and no-global-assign rules

* sort .eslintrc.yaml rules

* 0.3.0

* add basic react support

* 0.4.0

* Disallow using 'context' in tests

* 0.5.0

* move from .eslintrc.yaml to .eslintrc.js without .json generation (#6)

* Implement import plugin (#7)

* update deps

* include eslint-plugin-import

* Dereference import config (#8)

* reorganize existing rules into groups

* defreference eslint-plugin-import "recommended" config

Based on https://github.com/benmosher/eslint-plugin-import/blob/ea9c92c7324473ef303ac76b127e17af2becd2ee/config/recommended.js

* 0.6.0

* set environment info for import rule

* 0.6.1

* update peerDependencies

* 0.7.0

* Move eslint-config-kibana into packages directory
@cjcenizal cjcenizal added the backport This PR is a backport of another PR label Jul 26, 2017
@cjcenizal cjcenizal merged commit 739360a into elastic:6.x Jul 26, 2017
@cjcenizal cjcenizal deleted the backport/12725/6.x branch July 26, 2017 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants