Skip to content

Commit

Permalink
Cleanup '__fixtures__' leftovers (#2818)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Oct 9, 2020
1 parent 7e79bbe commit c44104f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .babelrc.json
Expand Up @@ -3,11 +3,7 @@
"plugins": ["@babel/plugin-transform-flow-strip-types"],
"overrides": [
{
"exclude": [
"src/__testUtils__/**/*",
"**/__tests__/**/*",
"**/__fixtures__/**/*"
],
"exclude": ["src/__testUtils__/**/*", "**/__tests__/**/*"],
"presets": ["@babel/preset-env"],
"plugins": [
["@babel/plugin-transform-classes", { "loose": true }],
Expand Down
4 changes: 1 addition & 3 deletions .eslintrc.yml
Expand Up @@ -97,7 +97,6 @@ rules:
- basePath: './'
zones:
- { target: './src', from: 'src/__testUtils__' }
- { target: './src', from: 'src/__fixtures__' }
import/no-absolute-path: error
import/no-dynamic-require: error
import/no-internal-modules: off
Expand Down Expand Up @@ -657,10 +656,9 @@ overrides:
'@typescript-eslint/type-annotation-spacing': off
- files: 'src/**/__*__/**'
rules:
node/no-unpublished-import: off
node/no-unpublished-import: [error, { allowModules: ['chai', 'mocha'] }]
import/no-restricted-paths: off
import/no-extraneous-dependencies: [error, { devDependencies: true }]
import/no-nodejs-modules: off # TODO remove
no-restricted-syntax: off
- files: 'integrationTests/*'
rules:
Expand Down
1 change: 0 additions & 1 deletion .flowconfig
@@ -1,7 +1,6 @@
[ignore]
.*
!<PROJECT_ROOT>/src
<PROJECT_ROOT>/src/__fixtures__/github-schema.json

[include]

Expand Down
1 change: 1 addition & 0 deletions src/language/__tests__/lexer-test.js
@@ -1,3 +1,4 @@
// eslint-disable-next-line import/no-nodejs-modules
import { inspect as nodeInspect } from 'util';

import { expect } from 'chai';
Expand Down
1 change: 1 addition & 0 deletions src/language/__tests__/parser-test.js
@@ -1,3 +1,4 @@
// eslint-disable-next-line import/no-nodejs-modules
import { inspect as nodeInspect } from 'util';

import { expect } from 'chai';
Expand Down

0 comments on commit c44104f

Please sign in to comment.