mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
71ca09125a
* Fix subpath support regressions * Adds a changeset * Update tests to reflect relative URL change * Pick a different port and hopefully windows works * Remove bad lint warning * Better handling of relative paths * or * Fixes use with pageUrlFormat * Update the pageDirectoryUrl test
21 lines
863 B
JavaScript
21 lines
863 B
JavaScript
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',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'@typescript-eslint/no-this-alias': 'off',
|
|
'no-console': 'warn',
|
|
'no-shadow': 'error',
|
|
'prefer-const': 'off',
|
|
// 'require-jsdoc': 'error', // re-enable this to enforce JSDoc for all functions
|
|
},
|
|
};
|