Skip to content

Commit

Permalink
finishing touch for v1 release (#254)
Browse files Browse the repository at this point in the history
Signed-off-by: Kangrui Johann Ye <[email protected]>
  • Loading branch information
strawberry-choco authored Dec 3, 2024
1 parent bc2469b commit 0959d49
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 94 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin",
"version": "1.0.0-rc14",
"version": "1.0.0",
"private": true,
"volta": {
"node": "20.18.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-angular",
"version": "1.0.0-rc14",
"version": "1.0.0",
"description": "Cloudflight eslint-plugin & eslint-config for angular",
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-node",
"version": "1.0.0-rc14",
"version": "1.0.0",
"description": "Cloudflight eslint-plugin & eslint-config for node",
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-plugin-node/src/configs/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ export const nodeRules: TSESLint.Linter.RulesRecord = {

// we use typescript, so node-builtins are typed and checked via TS
'n/no-unsupported-features/node-builtins': 'off',

'n/prefer-node-protocol': 'error',
};
2 changes: 1 addition & 1 deletion packages/eslint-plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-react",
"version": "1.0.0-rc14",
"version": "1.0.0",
"description": "Cloudflight eslint-plugin & eslint-config for React",
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-typescript",
"version": "1.0.0-rc14",
"version": "1.0.0",
"description": "Cloudflight eslint-plugin & eslint-config for typescript",
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 0 additions & 2 deletions packages/eslint-plugin-typescript/src/configs/custom.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import type {TSESLint} from '@typescript-eslint/utils';

import {NoMomentJsRuleName} from '../rules/typescript/no-moment-js';
import {NoOnEventAssignName} from '../rules/typescript/no-on-event-assign';

const pluginPrefix = '@cloudflight/typescript';

export const customRules: TSESLint.Linter.RulesRecord = {
[`${pluginPrefix}/${NoMomentJsRuleName}`]: ['error'],
[`${pluginPrefix}/${NoOnEventAssignName}`]: ['error'],
};
2 changes: 0 additions & 2 deletions packages/eslint-plugin-typescript/src/rules/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import {TSESLint} from '@typescript-eslint/utils';

import {NoMomentJsRule, NoMomentJsRuleName} from './typescript/no-moment-js';
import {NoOnEventAssign, NoOnEventAssignName} from './typescript/no-on-event-assign';

const rules: Record<string, TSESLint.RuleModule<string, readonly unknown[]>> = {
[NoMomentJsRuleName]: NoMomentJsRule,
[NoOnEventAssignName]: NoOnEventAssign,
};

Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/eslint-plugin-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-vue",
"version": "1.0.0-rc14",
"version": "1.0.0",
"description": "Cloudflight eslint-plugin & eslint-config for vue",
"volta": {
"extends": "../../package.json"
Expand Down

0 comments on commit 0959d49

Please sign in to comment.