Skip to content

Commit 0959d49

Browse files
finishing touch for v1 release (#254)
Signed-off-by: Kangrui Johann Ye <[email protected]>
1 parent bc2469b commit 0959d49

File tree

11 files changed

+8
-94
lines changed

11 files changed

+8
-94
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflight/eslint-plugin",
3-
"version": "1.0.0-rc14",
3+
"version": "1.0.0",
44
"private": true,
55
"volta": {
66
"node": "20.18.0",

packages/eslint-plugin-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflight/eslint-plugin-angular",
3-
"version": "1.0.0-rc14",
3+
"version": "1.0.0",
44
"description": "Cloudflight eslint-plugin & eslint-config for angular",
55
"volta": {
66
"extends": "../../package.json"

packages/eslint-plugin-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflight/eslint-plugin-node",
3-
"version": "1.0.0-rc14",
3+
"version": "1.0.0",
44
"description": "Cloudflight eslint-plugin & eslint-config for node",
55
"volta": {
66
"extends": "../../package.json"

packages/eslint-plugin-node/src/configs/node.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ export const nodeRules: TSESLint.Linter.RulesRecord = {
2121

2222
// we use typescript, so node-builtins are typed and checked via TS
2323
'n/no-unsupported-features/node-builtins': 'off',
24+
25+
'n/prefer-node-protocol': 'error',
2426
};

packages/eslint-plugin-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflight/eslint-plugin-react",
3-
"version": "1.0.0-rc14",
3+
"version": "1.0.0",
44
"description": "Cloudflight eslint-plugin & eslint-config for React",
55
"volta": {
66
"extends": "../../package.json"

packages/eslint-plugin-typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflight/eslint-plugin-typescript",
3-
"version": "1.0.0-rc14",
3+
"version": "1.0.0",
44
"description": "Cloudflight eslint-plugin & eslint-config for typescript",
55
"volta": {
66
"extends": "../../package.json"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import type {TSESLint} from '@typescript-eslint/utils';
22

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

65
const pluginPrefix = '@cloudflight/typescript';
76

87
export const customRules: TSESLint.Linter.RulesRecord = {
9-
[`${pluginPrefix}/${NoMomentJsRuleName}`]: ['error'],
108
[`${pluginPrefix}/${NoOnEventAssignName}`]: ['error'],
119
};

packages/eslint-plugin-typescript/src/rules/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import {TSESLint} from '@typescript-eslint/utils';
22

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

65
const rules: Record<string, TSESLint.RuleModule<string, readonly unknown[]>> = {
7-
[NoMomentJsRuleName]: NoMomentJsRule,
86
[NoOnEventAssignName]: NoOnEventAssign,
97
};
108

packages/eslint-plugin-typescript/src/rules/typescript/no-moment-js.spec.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

packages/eslint-plugin-typescript/src/rules/typescript/no-moment-js.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)