mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
3fa6396a7b
* Extract Astro styles to external stylesheets * Require relative URLs in Markdown layouts
17 lines
597 B
JavaScript
17 lines
597 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-use-before-define': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'no-shadow': 'warn',
|
|
'prettier/prettier': 'error',
|
|
'prefer-const': 'off',
|
|
'prefer-rest-params': 'off',
|
|
'require-jsdoc': 'warn',
|
|
},
|
|
};
|