mirror of https://github.com/wg-easy/wg-easy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
553 B
27 lines
553 B
// @ts-check
|
|
|
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
import withNuxt from './.nuxt/eslint.config.mjs';
|
|
|
|
export default withNuxt([
|
|
{
|
|
rules: {
|
|
'import/order': 'warn',
|
|
},
|
|
},
|
|
eslintConfigPrettier,
|
|
]).override('nuxt/typescript/rules', {
|
|
rules: {
|
|
'@typescript-eslint/restrict-template-expressions': [
|
|
'error',
|
|
{
|
|
allowAny: false,
|
|
allowBoolean: true,
|
|
allowNever: false,
|
|
allowNullish: false,
|
|
allowNumber: true,
|
|
allowRegExp: false,
|
|
},
|
|
],
|
|
},
|
|
});
|
|
|