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