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.
26 lines
1003 B
JavaScript
26 lines
1003 B
JavaScript
module.exports = {
|
|
extends: 'standard-with-typescript',
|
|
parserOptions: { project: [ './tsconfig.json', ] },
|
|
ignorePatterns: [
|
|
'/examples/**/build.js'
|
|
],
|
|
rules: {
|
|
'import/newline-after-import': 'error',
|
|
'max-statements-per-line': 'error',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
'@typescript-eslint/consistent-type-definitions': 'off',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
|
|
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
'@typescript-eslint/prefer-includes': 'off',
|
|
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
'@typescript-eslint/no-dynamic-delete': 'off',
|
|
'@typescript-eslint/restrict-plus-operands': 'off',
|
|
'@typescript-eslint/strict-boolean-expressions': 'off',
|
|
'comma-dangle': ['error', 'only-multiline'],
|
|
'no-mixed-operators': 'off',
|
|
'@typescript-eslint/semi': ['error', 'always'],
|
|
semi: ['error', 'always'],
|
|
}
|
|
}
|