Skip to content

Cleanup '__fixtures__' leftovers #2818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .babelrc.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line import/no-nodejs-modules
import { inspect as nodeInspect } from 'util';

import { expect } from 'chai';
Expand Down