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

30 lines
1005 B
JavaScript

module.exports = {
extends: 'standard-with-typescript',
parserOptions: { project: [ './tsconfig.json', ] },
ignorePatterns: [
'/examples/**/build.js',
'/dist/'
],
rules: {
'import/newline-after-import': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/consistent-type-assertions': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'comma-dangle': 'off',
'no-mixed-operators': 'off',
'no-unneeded-ternary': 'off',
'no-unused-expressions': 'off',
'no-unused-vars': 'off',
'one-var': 'off',
'prefer-const': 'off',
eqeqeq: 'off',
semi: 'off'
}
}