@webbio/eslint-config-next
v2.0.0
Published
Global ESLint configuration for Next.js projects.
Downloads
386
Readme
eslint-config-next
TODO: description
Usage
const eslintConfigNext = require('eslint-config-next');
// TODO: DEMONSTRATE API
``` js
/** @type {import('eslint').ESLint.ConfigData} */
module.exports = {
parserOptions: {
project: './tsconfig.json'
},
extends: ['@webbio/eslint-config-next'],
rules: {
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-namespace': 0,
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
]
}
};