Skip to content

Commit

Permalink
disable import-x/namespace rule (#244)
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 Oct 15, 2024
1 parent 9a9b9a8 commit 7ece559
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 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-rc6",
"version": "1.0.0-rc7",
"private": true,
"volta": {
"node": "20.12.2",
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-rc6",
"version": "1.0.0-rc7",
"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-rc6",
"version": "1.0.0-rc7",
"description": "Cloudflight eslint-plugin & eslint-config for node",
"volta": {
"extends": "../../package.json"
Expand Down
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-rc6",
"version": "1.0.0-rc7",
"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-rc6",
"version": "1.0.0-rc7",
"description": "Cloudflight eslint-plugin & eslint-config for typescript",
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-plugin-typescript/src/configs/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import {TSESLint} from '@typescript-eslint/utils';
const pluginPrefix = 'import-x';

export const importEslintRules: TSESLint.Linter.RulesRecord = {
// computationally expensive and checked by typescript already
[`${pluginPrefix}/namespace`]: 'off',
[`${pluginPrefix}/first`]: ['error'],
[`${pluginPrefix}/no-absolute-path`]: ['error'],
[`${pluginPrefix}/no-cycle`]: ['error', {ignoreExternal: true}],
Expand Down
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-rc6",
"version": "1.0.0-rc7",
"description": "Cloudflight eslint-plugin & eslint-config for vue",
"volta": {
"extends": "../../package.json"
Expand Down

0 comments on commit 7ece559

Please sign in to comment.