8.0.1 • Published 1 year ago
@meyfa/eslint-config v8.0.1
@meyfa/eslint-config
ESLint config for personal TypeScript projects.
Usage
Install ESLint, as well as this package (-DE means --save-dev --save-exact):
npm install -DE eslint@9 @meyfa/eslint-configThen in the eslint.config.js:
import eslintConfig from '@meyfa/eslint-config'
export default [
...eslintConfig,
{
ignores: ['dist']
}
]If needed, override the TypeScript config location (default: ./tsconfig.lint.json):
import eslintConfig from '@meyfa/eslint-config'
export default [
...eslintConfig,
{
ignores: ['dist']
},
{
languageOptions: {
parserOptions: {
project: './tsconfig.lint.json'
}
}
}
]If the project requires JSDoc for some files, add the following:
import eslintConfig from '@meyfa/eslint-config'
import eslintConfigJsdoc from '@meyfa/eslint-config/jsdoc'
export default [
...eslintConfig,
{
ignores: ['dist']
},
{
...eslintConfigJsdoc,
files: ['src/**/*.ts']
}
]8.0.1
1 year ago
8.0.0
1 year ago
6.1.0
1 year ago
6.0.0
1 year ago
7.0.0
1 year ago
5.1.0
2 years ago
5.0.1
2 years ago
5.0.0
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
3.0.1
3 years ago
2.1.2
3 years ago
3.0.0
3 years ago
2.1.1
3 years ago
2.0.2
3 years ago
2.1.0
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago