eslint-config-nitpick
v14.0.2
Published
ESLint config for my projects.
Downloads
3,743
Readme
eslint-config-nitpick
ESLint config for my projects.
Install
npm install eslint@9 eslint-config-nitpick --save-dev
Usage
Add this config to your eslint.config.js
:
import configNitpick from 'eslint-config-nitpick';
export default [
configNitpick
];
If you’re using presets, it’s highly recommended to apply default preset:
import configNitpick from 'eslint-config-nitpick';
import configPreset from 'eslint-config-nitpick/other-preset';
export default [
configNitpick,
configPreset
];
Presets
In addition to default preset, there are also specific presets.
Browser
Browser specific rules.
import configBrowser from 'eslint-config-nitpick/browser';
export default [
configBrowser
];
Testing
Rules for testing frameworks (e.g. Mocha).
import configTest from 'eslint-config-nitpick/tests';
export default [
configTest
];
Vue
Vue specific rules.
import configVue from 'eslint-config-nitpick/vue';
export default [
...configVue
];
TypeScript
TypeScript specific rules.
import configTypescript from 'eslint-config-nitpick/typescript';
export default [
configTypescript
];
License
MIT © Ivan Nikolić