Skip to content

Commit

Permalink
Lint - remove tmp package (#25814)
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri authored Oct 16, 2023
1 parent d6bed39 commit 5f0baf6
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 49 deletions.
7 changes: 1 addition & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions packages/devextreme/js/__internal/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ module.exports = {
},
plugins: [
'simple-import-sort',
// TODO Vinogradov: Move this plugin to this package:
// https://github.com/DevExpress/eslint-config-devextreme
// This custom plugin clones the @typescript-eslint/no-restricted-imports rule
// See issue: https://github.com/eslint/eslint/issues/14061
'forbidden-imports',
],
overrides: [
// General TS rules.
Expand All @@ -38,21 +33,6 @@ module.exports = {
}
],
'no-restricted-imports': 'off',
'forbidden-imports/no-restricted-imports': [
'error',
{
paths: [{
name: '@js/core/utils/iterator',
message: 'Please use @dom_utils/element_wrapper_iterator or native js methods instead.',
}],
patterns: [
{
group: ['../'],
message: 'Please try to avoid import of modules from upper directories.',
}
]
}
],
'@typescript-eslint/no-restricted-imports': [
'error',
{
Expand Down Expand Up @@ -141,7 +121,6 @@ module.exports = {
'@typescript-eslint/no-implied-eval': 'warn',
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/prefer-for-of': 'warn',
'forbidden-imports/no-restricted-imports': 'warn',
}
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import $ from '@js/core/renderer';

// eslint-disable-next-line @typescript-eslint/no-restricted-imports,
// eslint-disable-next-line forbidden-imports/no-restricted-imports
import gridCoreUtils from '../m_utils';
import { CLASSES } from './const';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable no-undef, forbidden-imports/no-restricted-imports */
/* eslint-disable no-undef */
import each from 'jest-each';

import {
Expand Down
1 change: 0 additions & 1 deletion packages/devextreme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"devextreme-screenshot-comparer": "2.0.15",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"eslint-plugin-forbidden-imports": "file:js/__internal/.eslint-tmp-local-plugin",
"exceljs": "4.3.0",
"fancy-log": "2.0.0",
"file-saver": "2.0.5",
Expand Down

0 comments on commit 5f0baf6

Please sign in to comment.