Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eslint-plugin): add rule naming-conventions #1318

Merged
merged 36 commits into from Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4396290
feat: variable, function, parameter, parameterProperty, property
bradzacher Dec 9, 2019
73d895c
feat: method
bradzacher Dec 9, 2019
e3a14b5
feat: accessors
bradzacher Dec 9, 2019
d8967e1
feat: enumMember
bradzacher Dec 9, 2019
3a431a2
feat: config ordering
bradzacher Dec 9, 2019
2356643
feat: meta selectors
bradzacher Dec 10, 2019
284fe4c
docs: add docs
bradzacher Dec 10, 2019
910acec
docs: typos and restructure a bit
bradzacher Dec 11, 2019
1db8b8c
feat: support simple primitive types
bradzacher Dec 11, 2019
aa949d6
feat: class, interface, typeAlias, enum, typeParameter
bradzacher Dec 11, 2019
7b68c47
docs: add examples
bradzacher Dec 11, 2019
19ece7f
feat: support array and function types
bradzacher Dec 11, 2019
f28058d
docs: remove deprecated rules from readme
bradzacher Dec 12, 2019
503a7b0
docs: fix spelling
bradzacher Dec 18, 2019
e21d472
feat: nits
bradzacher Dec 18, 2019
409a616
fix: correct default config to closely match eslint's camelcase
bradzacher Dec 19, 2019
9797f56
Merge branch 'master' into naming-conventions
bradzacher Dec 19, 2019
c894ecc
Merge branch 'master' into naming-conventions
bradzacher Dec 19, 2019
888c495
Merge branch 'master' into naming-conventions
armano2 Dec 22, 2019
bb70949
fix: typos, use NonComputedName types
bradzacher Dec 22, 2019
8acb0d3
Merge branch 'master' into naming-conventions
bradzacher Dec 29, 2019
1a85712
fix: lint error
bradzacher Dec 29, 2019
39ea8cc
fix: spelling
bradzacher Dec 30, 2019
c2b8ce9
feat: matches for some selectors
bradzacher Dec 30, 2019
69c1d5e
Merge branch 'master' into naming-conventions
bradzacher Jan 1, 2020
380dcc2
Merge branch 'master' into naming-conventions
bradzacher Jan 3, 2020
d8e7d99
Merge branch 'master' into naming-conventions
bradzacher Jan 5, 2020
0154b40
docs: new heading format
bradzacher Jan 5, 2020
e81a2b2
Merge branch 'master' into naming-conventions
bradzacher Jan 6, 2020
f25f3b0
Merge branch 'master' into naming-conventions
bradzacher Jan 9, 2020
a16e6f4
feat: add custom regex option
bradzacher Jan 9, 2020
557e827
feat: deprecate interface-name-prefix
bradzacher Jan 9, 2020
c7ed80e
docs: regen docs for deprecation
bradzacher Jan 9, 2020
6596a02
fix: config checker tests
bradzacher Jan 13, 2020
fda403a
Merge branch 'master' into naming-conventions
bradzacher Jan 13, 2020
d514d41
Merge branch 'master' into naming-conventions
bradzacher Jan 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 4 additions & 7 deletions packages/eslint-plugin/README.md
Expand Up @@ -101,25 +101,22 @@ Pro Tip: For larger codebases you may want to consider splitting our linting int
| [`@typescript-eslint/ban-ts-ignore`](./docs/rules/ban-ts-ignore.md) | Bans “// @ts-ignore” comments from being used | :heavy_check_mark: | | |
| [`@typescript-eslint/ban-types`](./docs/rules/ban-types.md) | Bans specific types from being used | :heavy_check_mark: | :wrench: | |
| [`@typescript-eslint/brace-style`](./docs/rules/brace-style.md) | Enforce consistent brace style for blocks | | :wrench: | |
| [`@typescript-eslint/camelcase`](./docs/rules/camelcase.md) | Enforce camelCase naming convention | :heavy_check_mark: | | |
| [`@typescript-eslint/class-name-casing`](./docs/rules/class-name-casing.md) | Require PascalCased class and interface names | :heavy_check_mark: | | |
| [`@typescript-eslint/consistent-type-assertions`](./docs/rules/consistent-type-assertions.md) | Enforces consistent usage of type assertions. | :heavy_check_mark: | | |
| [`@typescript-eslint/consistent-type-definitions`](./docs/rules/consistent-type-definitions.md) | Consistent with type definition either `interface` or `type` | | :wrench: | |
| [`@typescript-eslint/explicit-function-return-type`](./docs/rules/explicit-function-return-type.md) | Require explicit return types on functions and class methods | :heavy_check_mark: | | |
| [`@typescript-eslint/explicit-member-accessibility`](./docs/rules/explicit-member-accessibility.md) | Require explicit accessibility modifiers on class properties and methods | | | |
| [`@typescript-eslint/func-call-spacing`](./docs/rules/func-call-spacing.md) | Require or disallow spacing between function identifiers and their invocations | | :wrench: | |
| [`@typescript-eslint/generic-type-naming`](./docs/rules/generic-type-naming.md) | Enforces naming of generic type variables | | | |
| [`@typescript-eslint/indent`](./docs/rules/indent.md) | Enforce consistent indentation | | :wrench: | |
| [`@typescript-eslint/interface-name-prefix`](./docs/rules/interface-name-prefix.md) | Require that interface names should or should not prefixed with `I` | :heavy_check_mark: | | |
| [`@typescript-eslint/member-delimiter-style`](./docs/rules/member-delimiter-style.md) | Require a specific member delimiter style for interfaces and type literals | :heavy_check_mark: | :wrench: | |
| [`@typescript-eslint/member-naming`](./docs/rules/member-naming.md) | Enforces naming conventions for class members by visibility | | | |
| [`@typescript-eslint/member-ordering`](./docs/rules/member-ordering.md) | Require a consistent member declaration order | | | |
| [`@typescript-eslint/naming-convention`](./docs/rules/naming-convention.md) | Enforces naming conventions for everything across a codebase | | | :thought_balloon: |
| [`@typescript-eslint/no-array-constructor`](./docs/rules/no-array-constructor.md) | Disallow generic `Array` constructors | :heavy_check_mark: | :wrench: | |
| [`@typescript-eslint/no-dynamic-delete`](./docs/rules/no-dynamic-delete.md) | Bans usage of the delete operator with computed key expressions | | :wrench: | |
| [`@typescript-eslint/no-empty-function`](./docs/rules/no-empty-function.md) | Disallow empty functions | :heavy_check_mark: | | |
| [`@typescript-eslint/no-empty-interface`](./docs/rules/no-empty-interface.md) | Disallow the declaration of empty interfaces | :heavy_check_mark: | :wrench: |
| [`@typescript-eslint/no-empty-interface`](./docs/rules/no-empty-interface.md) | Disallow the declaration of empty interfaces | :heavy_check_mark: | :wrench: | |
| [`@typescript-eslint/no-explicit-any`](./docs/rules/no-explicit-any.md) | Disallow usage of the `any` type | :heavy_check_mark: | :wrench: | |
| [`@typescript-eslint/no-extra-non-null-assertion`](./docs/rules/no-extra-non-null-assertion.md) | Disallow extra non-null assertion | | | |
| [`@typescript-eslint/no-extra-non-null-assertion`](./docs/rules/no-extra-non-null-assertion.md) | Disallow extra non-null assertion | | | |
| [`@typescript-eslint/no-extra-parens`](./docs/rules/no-extra-parens.md) | Disallow unnecessary parentheses | | :wrench: | |
| [`@typescript-eslint/no-extra-semi`](./docs/rules/no-extra-semi.md) | Disallow unnecessary semicolons | | :wrench: | |
| [`@typescript-eslint/no-extraneous-class`](./docs/rules/no-extraneous-class.md) | Forbids the use of classes as namespaces | | | |
Expand Down Expand Up @@ -162,7 +159,7 @@ Pro Tip: For larger codebases you may want to consider splitting our linting int
| [`@typescript-eslint/require-await`](./docs/rules/require-await.md) | Disallow async functions which have no `await` expression | :heavy_check_mark: | | :thought_balloon: |
| [`@typescript-eslint/restrict-plus-operands`](./docs/rules/restrict-plus-operands.md) | When adding two variables, operands must both be of type number or of type string | | | :thought_balloon: |
| [`@typescript-eslint/restrict-template-expressions`](./docs/rules/restrict-template-expressions.md) | Enforce template literal expressions to be of string type | | | :thought_balloon: |
| [`@typescript-eslint/return-await`](./docs/rules/return-await.md) | Rules for awaiting returned promises | | | :thought_balloon: |
| [`@typescript-eslint/return-await`](./docs/rules/return-await.md) | Rules for awaiting returned promises | | | :thought_balloon: |
| [`@typescript-eslint/semi`](./docs/rules/semi.md) | Require or disallow semicolons instead of ASI | | :wrench: | |
| [`@typescript-eslint/space-before-function-paren`](./docs/rules/space-before-function-paren.md) | enforce consistent spacing before `function` definition opening parenthesis | | :wrench: | |
| [`@typescript-eslint/strict-boolean-expressions`](./docs/rules/strict-boolean-expressions.md) | Restricts the types allowed in boolean expressions | | | :thought_balloon: |
Expand Down