@fdio/eslint-plugin
v2.0.1
Published
An ESLint plugin which provides common and enhance lint rules for Vue or TypeScript codebases.
Downloads
5
Maintainers
Readme
@fdio/eslint-plugin
An ESLint plugin which provides common and enhance lint rules for Vue or TypeScript codebases.
Usage
module.exports = {
root: true,
extends: [
'plugin:@fdio/typescript',
'plugin:@fdio/vue'
],
parserOptions: {
parser: '@typescript-eslint/parser',
project: './tsconfig.json'
},
settings: {
'import/resolver': {
typescript: {
project: './tsconfig.json'
}
}
},
rules: {
'@typescript-eslint/ban-ts-ignore': 0
}
}