mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
2b346d7a4c
* Add example blog * Add author data * Improve navigation * Style nav * Add friendly error message * Throw error if import glob used for non-Markdown files * Use import.meta.collection() API instead * README fixes
20 lines
738 B
JavaScript
20 lines
738 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
rules: {
|
|
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
'@typescript-eslint/camelcase': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@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',
|
|
'no-shadow': 'error',
|
|
'prefer-const': 'off',
|
|
'prefer-rest-params': 'off',
|
|
'require-jsdoc': 'warn',
|
|
},
|
|
};
|