Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make sure package is published under @elastic org namespace * Preparing packages/ for Kibana-related packages * Folder structure mirrors package name * Add note on naming consistency * s/packages/node modules/ for removing potention confusion with Kibana system packages * Prefixing the eslint rule with package scope (i.e. org namespace) * Adding README * Bumping up version for release * Adding repository information to package.json * Bumping up version for release * URL-encoding repository link + bumping up version for release * Using published version
- Loading branch information
1 parent
a605b7f
commit 69c2288
Showing
7 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Custom ESLint rules for Kibana | ||
|
||
This package contains custom ESLint rules used for Kibana development. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@elastic/eslint-plugin-kibana-custom", | ||
"version": "1.0.3", | ||
"description": "Custom ESLint rules for Kibana", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/elastic/kibana/tree/master/packages/%40elastic/eslint-plugin-kibana-custom" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## Kibana-related node modules | ||
|
||
This folder contains node modules that are created by Kibana developers, for use in Kibana and its plugins. | ||
|
||
For each such node module, create a sub-folder in this folder. The path/name of the folder should mirror the `name` in the node module's `package.json`. To publish the node module as an npm package, `cd` into the package's sub-folder, and run `npm publish` as usual. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
plugins: [ | ||
'kibana-custom' | ||
'@elastic/kibana-custom' | ||
] | ||
rules: | ||
no-console: 2 | ||
|