Run eslint --fix
This commit is contained in:
parent
9165b96e0f
commit
400d1cd213
@ -53,3 +53,4 @@ overrides:
|
|||||||
'@typescript-eslint/no-var-requires': off
|
'@typescript-eslint/no-var-requires': off
|
||||||
env:
|
env:
|
||||||
node: true
|
node: true
|
||||||
|
es6: true
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
projects: [
|
projects: [
|
||||||
"<rootDir>/packages/*/src"
|
"<rootDir>/packages/*/src",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js'],
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
maxConcurrency: 1,
|
maxConcurrency: 1,
|
||||||
verbose: false
|
verbose: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,17 +1,17 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js'],
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
verbose: false
|
verbose: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,17 +1,17 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js'],
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
verbose: false
|
verbose: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,22 +1,22 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
compiler: 'ttypescript'
|
compiler: 'ttypescript',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js'],
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
verbose: false
|
verbose: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,22 +1,22 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
compiler: 'ttypescript'
|
compiler: 'ttypescript',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js'],
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
verbose: false
|
verbose: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js'],
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
maxConcurrency: 1,
|
maxConcurrency: 1,
|
||||||
verbose: false
|
verbose: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
roots: [
|
roots: [
|
||||||
'<rootDir>/src'
|
'<rootDir>/src',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.tsx?$': 'ts-jest'
|
'^.+\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
testRegex: '(/__tests__/.*|\\.(test|spec))\\.tsx?$',
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: [
|
||||||
'ts',
|
'ts',
|
||||||
'tsx',
|
'tsx',
|
||||||
'js',
|
'js',
|
||||||
'jsx'
|
'jsx',
|
||||||
],
|
],
|
||||||
setupFiles: ['<rootDir>/jest.setup.js']
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,7 +28,7 @@ function getDependencies(root) {
|
|||||||
if (dep.startsWith('@rondo.dev/')) {
|
if (dep.startsWith('@rondo.dev/')) {
|
||||||
return {
|
return {
|
||||||
file: require.resolve(dep),
|
file: require.resolve(dep),
|
||||||
isDep: false
|
isDep: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user