0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.eslintrc.cjs

21 lines
736 B
JavaScript
Raw Normal View History

module.exports = {
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
2021-04-01 11:25:28 -05:00
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-var-requires': 'off',
'no-console': 'warn',
2021-04-01 11:25:28 -05:00
'no-shadow': 'error',
'prefer-const': 'off',
2021-03-16 13:43:23 -05:00
'prefer-rest-params': 'off',
2021-08-24 00:18:27 -05:00
'require-jsdoc': 'off',
},
};