mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
lint fix
This commit is contained in:
parent
e32054acb8
commit
ba72956536
@ -13,13 +13,13 @@ module.exports = {
|
|||||||
'!**/plugins/**',
|
'!**/plugins/**',
|
||||||
'!**/.eslintrc.js',
|
'!**/.eslintrc.js',
|
||||||
'!**/.prettierrc.js',
|
'!**/.prettierrc.js',
|
||||||
'!**/nuxt.config.js'
|
'!**/nuxt.config.js',
|
||||||
],
|
],
|
||||||
coverageReporters: ['lcov', 'text'],
|
coverageReporters: ['lcov', 'text'],
|
||||||
setupFiles: ['<rootDir>/test/registerContext.js', '<rootDir>/test/testSetup.js'],
|
setupFiles: ['<rootDir>/test/registerContext.js', '<rootDir>/test/testSetup.js'],
|
||||||
transform: {
|
transform: {
|
||||||
'.*\\.(vue)$': 'vue-jest',
|
'.*\\.(vue)$': 'vue-jest',
|
||||||
'^.+\\.js$': 'babel-jest'
|
'^.+\\.js$': 'babel-jest',
|
||||||
},
|
},
|
||||||
testMatch: ['**/?(*.)+(spec|test).js?(x)'],
|
testMatch: ['**/?(*.)+(spec|test).js?(x)'],
|
||||||
modulePathIgnorePatterns: ['<rootDir>/build/'],
|
modulePathIgnorePatterns: ['<rootDir>/build/'],
|
||||||
@ -27,11 +27,7 @@ module.exports = {
|
|||||||
'\\.(svg)$': '<rootDir>/test/fileMock.js',
|
'\\.(svg)$': '<rootDir>/test/fileMock.js',
|
||||||
'\\.(css|less)$': 'identity-obj-proxy',
|
'\\.(css|less)$': 'identity-obj-proxy',
|
||||||
'^@/(.*)$': '<rootDir>/src/$1',
|
'^@/(.*)$': '<rootDir>/src/$1',
|
||||||
'^~/(.*)$': '<rootDir>/$1'
|
'^~/(.*)$': '<rootDir>/$1',
|
||||||
},
|
},
|
||||||
moduleFileExtensions: [
|
moduleFileExtensions: ['js', 'json', 'vue'],
|
||||||
'js',
|
|
||||||
'json',
|
|
||||||
'vue'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user