Skip to content

Commit

Permalink
Cleanup no-restricted-globals
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Feb 16, 2022
1 parent 33f47a5 commit 1ecc1a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ module.exports = {
'no-console': 'error', // no longer recommended in eslint v6, this restores it
'no-eq-null': 'error',
'no-eval': 'error',
'no-restricted-globals': ['error', { name: 'Promise', message: 'Must use RSVP.Promise' }],
'no-unused-vars': ['error', { args: 'none' }],
'simple-import-sort/imports': ['error', { groups: ImportSortGroups }],
'sort-imports': 'off',
Expand Down Expand Up @@ -109,7 +108,6 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': ['error', { args: 'none' }],
'ember-data/prefer-static-type-import': 'error',
'no-restricted-globals': ['off'],
'no-unused-vars': 'off',
'prefer-const': 'off',
'prefer-rest-params': 'off',
Expand All @@ -133,7 +131,6 @@ module.exports = {
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unused-vars': ['error', { args: 'none' }],
'ember-data/prefer-static-type-import': 'error',
'no-restricted-globals': ['off'],
'no-unused-vars': 'off',
'prefer-const': 'off',
'prefer-rest-params': 'off',
Expand Down Expand Up @@ -377,7 +374,6 @@ module.exports = {
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',
'import/order': ['error', { 'newlines-between': 'always' }],
'no-restricted-globals': 'off',
'simple-import-sort/sort': 'off',
},
},
Expand All @@ -388,9 +384,6 @@ module.exports = {
env: {
mocha: true,
},
rules: {
'no-restricted-globals': 'off',
},
},

// docs
Expand All @@ -405,9 +398,6 @@ module.exports = {
sourceType: 'script',
ecmaVersion: 2015,
},
rules: {
'no-restricted-globals': 'off',
},
},

// scripts files
Expand Down
1 change: 0 additions & 1 deletion packages/store/types/ember-data-qunit-asserts/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint no-restricted-globals: "off" */
declare global {
interface DeprecationConfig {
id: string;
Expand Down

0 comments on commit 1ecc1a1

Please sign in to comment.