You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
angularjs-testing-library/.eslintrc.js

26 lines
608 B

module.exports = {
env: {
node: true,
browser: true,
es6: true,
jest: true,
},
extends: ['eslint:recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',
},
rules: {
'linebreak-style': ['error', 'unix'],
'no-console': ['error', {allow: ['warn', 'error']}],
'no-shadow': 'error',
'no-var': 'error',
'prefer-const': 'error',
'object-shorthand': 'error',
'no-useless-rename': 'error',
'no-use-before-define': ['error', {functions: false}],
'no-unused-vars': 'off',
'no-duplicate-imports': 'off',
},
}