-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from microsoft/user/aubreyquinn/fixIndex
User/aubreyquinn/fix index
- Loading branch information
Showing
14 changed files
with
265 additions
and
327 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ or contact [[email protected]](mailto:[email protected]) with any addi | |
|
||
- Install [Visual Studio Code](https://code.visualstudio.com/). | ||
|
||
- Install [Node.js](https://nodejs.org/en/), with [nvm](https://github.com/nvm-sh/nvm). Please use node version 16. | ||
- Install [Node.js](https://nodejs.org/en/), with [nvm](https://github.com/nvm-sh/nvm). Please use Node version 16 and npm v 8. | ||
|
||
- **Internal collaborators:** Please send Aubrey Quinn your email address. After getting `Write` access, you can create branches and directly submit pull requests against this repo. | ||
- **Internal collaborators:** Please send Aubrey Quinn your email address. After getting `Write` access, you can create branches and directly submit pull requests against this repo. Make and submit changes following the [pull request submission workflow](#pull-requests) | ||
- **External collaborators:** [Fork the repo and clone your fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) | ||
|
||
- Install the dependencies | ||
|
@@ -49,13 +49,13 @@ or contact [[email protected]](mailto:[email protected]) with any addi | |
|
||
## To create a new ESLint rule | ||
|
||
### eslint:rule | ||
If you want to create a new ESLint rule: | ||
|
||
If you want to create a new ESLint rule, make sure you're in the top-level directory and type: | ||
```sh | ||
yo eslint:rule | ||
``` | ||
1. create a rule file under `lib/rules` | ||
2. create a doc file under `docs` | ||
3. create a test file under `tests` | ||
4. add your rule to `lib/rules/index.ts` | ||
5. add your rule to `index.ts` | ||
|
||
## Pull requests | ||
|
||
|
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 |
---|---|---|
@@ -1,16 +1,2 @@ | ||
export namespace meta { | ||
namespace messages { | ||
let missingTabLabel: string; | ||
let missingTablistLabel: string; | ||
} | ||
let type: string; | ||
namespace docs { | ||
let description: string; | ||
let recommended: boolean; | ||
let url: string; | ||
} | ||
let schema: never[]; | ||
} | ||
export function create(context: any): { | ||
JSXOpeningElement(node: any): void; | ||
}; | ||
declare const _exports: import("eslint").Rule.RuleModule; | ||
export = _exports; |
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
Oops, something went wrong.