@tada5hi/eslint-config-nuxt-typescript
JavaScript
Shared developer tool configurations published under the @tada5hi scope.
ESLint, Prettier, TypeScript, commitlint and semantic-release — one opinionated set of defaults.
This monorepo contains shared developer tool configurations published as npm packages under the @tada5hi scope.
It provides meaningful default ESLint rules, TypeScript compiler settings, Prettier formatting, commitlint conventions,
and semantic-release configuration.
Table of Contents
Packages
| Package | Description |
|---|---|
@tada5hi/eslint-config |
ESLint flat config with optional TypeScript and Vue support |
@tada5hi/prettier-config |
Prettier configuration |
@tada5hi/tsconfig |
TypeScript compiler configuration |
@tada5hi/commitlint-config |
Commitlint configuration |
@tada5hi/semantic-release |
Semantic-release configuration |
Usage
ESLint
Install the config package and ESLint:
npm install --save-dev eslint @tada5hi/eslint-config
Create an eslint.config.js in your project root:
import eslintConfig from '@tada5hi/eslint-config';
export default eslintConfig();
TypeScript and Vue support are auto-detected based on installed packages. You can also enable them explicitly:
// TypeScript with type-aware linting
export default eslintConfig({
typescript: { project: './tsconfig.json' },
});
// Vue + TypeScript
export default eslintConfig({
typescript: { project: './tsconfig.json' },
vue: true,
});
Additional ESLint flat config objects can be passed as extra arguments:
export default eslintConfig(
{ typescript: true },
{ rules: { 'no-console': 'off' } },
{ ignores: ['dist/**'] },
);
If an optional dependency like typescript-eslint or eslint-plugin-vue is missing when needed, it will be installed automatically.
Prettier
npm install --save-dev prettier @tada5hi/prettier-config
In your package.json:
{
"prettier": "@tada5hi/prettier-config"
}
TypeScript
npm install --save-dev typescript @tada5hi/tsconfig
In your tsconfig.json:
{
"extends": "@tada5hi/tsconfig"
}
License
Made with 💚
Published under Apache 2.0 License.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.2.18 | MIT | |
| 1.2.17 | MIT | |
| 1.2.16 | MIT | |
| 1.2.15 | MIT | |
| 1.2.14 | MIT | |
| 1.2.13 | MIT | |
| 1.2.12 | MIT | |
| 1.2.11 | MIT | |
| 1.2.10 | MIT | |
| 1.2.9 | MIT | |
| 1.2.8 | MIT | |
| 1.2.7 | MIT | |
| 1.2.6 | MIT | |
| 1.2.5 | MIT | |
| 1.2.4 | MIT | |
| 1.2.3 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.11 | MIT | |
| 1.1.10 | MIT | |
| 1.1.9 | MIT | |
| 1.1.8 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT | |
| 1.1.5 | MIT | |
| 1.1.4 | MIT | |
| 1.1.3 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT |
Showing the latest 30 of 62. See every release on npm