/
githubmirror
/
nativefier
Обзор
Документация
Войти
/
githubmirror
/
nativefier
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
base-eslintrc.js
39 строк
1 KB
Adam Weeden
Update to Electron 25 (#1559)
25 авг 2023, 16:10
Не верифицирован
25 авг 2023, 16:10
64157c3
Код
Авторство
О чём код?
// # https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md module.exports = { parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint', 'prettier'], extends: [ 'eslint:recommended', 'prettier', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', ], rules: { 'no-console': 'error', 'prettier/prettier': [ 'error', { endOfLine: 'auto', }, ], '@typescript-eslint/explicit-function-return-type': 'error', '@typescript-eslint/no-confusing-non-null-assertion': 'error', '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/no-extraneous-class': 'error', '@typescript-eslint/no-invalid-void-type': 'error', '@typescript-eslint/prefer-ts-expect-error': 'error', '@typescript-eslint/type-annotation-spacing': 'error', '@typescript-eslint/typedef': 'error', '@typescript-eslint/unified-signatures': 'error', }, // https://eslint.org/docs/user-guide/configuring/ignoring-code#ignorepatterns-in-config-files ignorePatterns: [ 'node_modules/**', 'app/node_modules/**', 'app/lib/**', 'lib/**', 'built-tests/**', 'coverage/**', ], };