Skip to content

Commit

Permalink
♻️ refactor(eslint-plugin, utils): refactor file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
pauliesnug committed Apr 27, 2024
1 parent 3fd9247 commit 7e7d9e1
Show file tree
Hide file tree
Showing 116 changed files with 7 additions and 7 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This contains all Petal-specific eslint rules for [eslint-config](https://github.com/pulseflow/petal/blob/main/configs/eslint-config).

[Rules List](https://github.com/pulseflow/petal/blob/main/configs/eslint-petal/src/rules/)
[Rules List](https://github.com/pulseflow/petal/blob/main/configs/eslint-plugin/src/rules/)

<!-- Badges -->

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/pulseflow/petal",
"directory": "packages/eslint-petal"
"directory": "packages/eslint-plugin"
},
"bugs": {
"url": "https://github.com/pulseflow/petal/issues"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// adapted from https://github.com/levibuzolic/eslint-plugin-no-only-tests/blob/main/rules/no-only-tests.js

import type { JSONSchema4 } from '@typescript-eslint/utils/json-schema';
import { createEslintRule } from 'src/utils';
import { createEslintRule } from '../utils';

export const RULE_NAME = 'no-only-tests';
export type MessageIds = 'noOnlyTests';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { RuleListener, RuleWithMeta, RuleWithMetaAndName } from '@typescrip
import type { RuleContext } from '@typescript-eslint/utils/ts-eslint';
import type { Rule } from 'eslint';

const blobUrl: string = 'https://github.com/pulseflow/petal/blob/main/configs/eslint-petal/src/rules';
const blobUrl: string = 'https://github.com/pulseflow/petal/blob/main/configs/eslint-plugin/src/rules';

export interface RuleModule<
T extends readonly unknown[],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/pulseflow/petal.git",
"directory": "packages/flowr-utils"
"directory": "packages/utils"
},
"bugs": {
"url": "https://github.com/pulseflow/petal/issues"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions vitest.workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defineWorkspace } from 'vitest/config';
export default defineWorkspace([
'packages/create-petal/vitest.config.ts',
'packages/eslint-config/vitest.config.ts',
'packages/eslint-petal/vitest.config.ts',
'packages/flowr-utils/vitest.config.ts',
'packages/eslint-plugin/vitest.config.ts',
'packages/utils/vitest.config.ts',
]);

0 comments on commit 7e7d9e1

Please sign in to comment.