0.2.12 • Published 1 year ago
@iqrf/eslint-config v0.2.12
@iqrf/eslint-config
Flat ESLint configuration for JavaScript, TypeScript, Vue.js and Vuetify 3.
Features
- ESLint flat configuration
- Languages:
- JavaScript (with JSDoc)
- JSON
- Markdown
- TypeScript
- State managements: - Pinia
- Testing frameworks:
- Cypress
- Vitest
- Vue.js 2 and 3
- vue-i18n
- Vuetify 3
Installation
Requires Node.js and ESLint >= 8.56.0.
npm
npm install --save-dev @iqrf/eslint-configpnpm
pnpm add --save-dev @iqrf/eslint-configUsage
Create a eslint.config.mjs file in the root of your project with the following content:
import { iqrfEslint } from '@iqrf/eslint-config';
export default iqrfEslint(
{
cypress: true,
ignores: ['dist/', 'node_modules/'],
import: true,
jsdoc: true,
markdown: true,
pinia: true,
promise: true,
regExp: true,
typescript: true,
vitest: true,
vue: true,
vueI18n: true,
vuetify: true,
},
[
// Add your custom rules here
],
);Visual Studio Code
Enable flat config if you are using ESLint < 9.0.0:
{
"eslint.experimental.useFlatConfig": true
}0.2.12
1 year ago
0.2.11
1 year ago
0.2.10
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.2.9
1 year ago
0.2.8
1 year ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.5
1 year ago
0.2.4
1 year ago
0.1.13
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.10
2 years ago
0.1.11
2 years ago
0.1.12
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago