Skip to content

Removed plugin prefixes from converter and merger paths #1203

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

Merged
merged 10 commits into from
Oct 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
461 changes: 230 additions & 231 deletions src/converters/lintConfigs/rules/ruleConverters.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertAngularWhitespace: RuleConverter = () => {
return {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertCognitiveComplexity: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertComponentClassSuffix: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertComponentMaxInlineDeclarations: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertComponentSelector: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertConsecutiveOverloads: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertContextualDecorator: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertContextualLifecycle: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertDirectiveClassSuffix: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertDirectiveSelector: RuleConverter = (tslintRule) => {
return {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertImportDestructuringSpacing: RuleConverter = () => {
return {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxBanProps: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxBooleanValue: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxCurlySpacing: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxEqualsSpacing: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxKey: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxNoBind: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxNoLambda: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxSelfClose: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxSpaceBeforeTrailingSlash: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertJsxWrapMultiline: RuleConverter = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertMaxSwitchCases: RuleConverter = (tslintRule) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertActionHygiene: RuleConverter = () => {
export const convertNgrxActionHygiene: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertAvoidDispatchingMultipleActionsSequentially: RuleConverter = () => {
export const convertNgrxAvoidDispatchingMultipleActionsSequentially: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertEffectCreatorAndDecorator: RuleConverter = () => {
export const convertNgrxEffectCreatorAndDecorator: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertNoDispatchInEffects: RuleConverter = () => {
export const convertNgrxNoDispatchInEffects: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { RuleConverter } from "../ruleConverter";

export const convertNgrxNoDuplicateActionTypes: RuleConverter = () => {
return {
rules: [],
};
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertNoEffectDecorator: RuleConverter = () => {
export const convertNgrxNoEffectDecorator: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertNoEffectsInProviders: RuleConverter = () => {
export const convertNgrxNoEffectsInProviders: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertNoMultipleActionsInEffects: RuleConverter = () => {
export const convertNgrxNoMultipleActionsInEffects: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertNoReducerInKeyNames: RuleConverter = () => {
export const convertNgrxNoReducerInKeyNames: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertNoTypedStore: RuleConverter = () => {
export const convertNgrxNoTypedStore: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertOnReducerExplicitReturnType: RuleConverter = () => {
export const convertNgrxOnReducerExplicitReturnType: RuleConverter = () => {
return {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RuleConverter } from "../../ruleConverter";
import { RuleConverter } from "../ruleConverter";

export const convertSelectorForSelect: RuleConverter = () => {
export const convertNgrxSelectorForSelect: RuleConverter = () => {
return {
rules: [
{
Expand Down
Loading