CommunitySolidServer/test/.eslintrc.js
2020-11-04 10:31:54 +01:00

19 lines
414 B
JavaScript

module.exports = {
plugins: [
'jest',
],
extends: [
'plugin:jest/recommended',
'plugin:jest/style',
],
rules: {
'@typescript-eslint/no-unsafe-assignment': 'off',
'unicorn/no-useless-undefined': 'off',
'no-process-env': 'off',
// Need these 2 to run tests for throwing non-Error objects
'@typescript-eslint/no-throw-literal': 'off',
'no-throw-literal': 'off',
},
};