1.2.3 • Published 9 months ago
@ineedj/eslintrc v1.2.3
Little Config
Option | Input Type | Description |
---|---|---|
formatters.json | boolean | Enables JSON formatting. |
formatters.perfectionistSorters | boolean | Enables perfectionist sorting. |
formatters.stylistic | boolean | Enables stylistic formatting. |
formatters.stylisticJSX | boolean | Enables stylistic formatting for JSX. |
formatters.stylisticTS | boolean | Enables stylistic formatting for TypeScript. |
modifiers.ban | TBan | Allows blocking of specific elements. |
modifiers.headers | Theaders | Allows defining headers. |
modifiers.only | "error" or "warn" | Change level Severity for all plugins. |
modifiers.renamePlugins | boolean | If true, renamePlugins in options will override this. |
syntax.eslint | boolean | Enables support for ESLint. |
syntax.ignoreGlobalFiles | Prettify | Enables global file ignoring. |
syntax.ignoreGlobalFiles.basicIgnores | boolean | Allows basic file ignoring. |
syntax.ignoreGlobalFiles.gitIgnore | boolean | Allows ignoring files according to .gitignore. |
syntax.ignoreGlobalFiles.ignoreFiles | string[] | List of files to ignore. |
syntax.jsx | boolean | Enables support for JSX. |
syntax.next | boolean | Enables support for Next.js. |
syntax.node | boolean | Enables support for Node.js. |
syntax.react | boolean | Enables support for React. |
syntax.storybook | boolean | Enables support for Storybook. |
syntax.tailwindcss | boolean | Enables support for Tailwind CSS. |
syntax.toml | boolean | Enables support for TOML. |
syntax.turbo | boolean | Enables support for Turbo. |
syntax.typescript | boolean | Enables support for TypeScript. |
syntax.vitest | boolean | Enables support for Vitest. |
syntax.website | boolean | Enables support for websites. |
syntax.yaml | boolean | Enables support for YAML. |
More about rules setup with @eslint/config-inspector
Install
Ni
ni -D "@ineedj/eslintrc"
NPM
npm install -D "@ineedj/eslintrc"
PNPM
pnpm add -D "@ineedj/eslintrc"
Yarn
yarn add -D "@ineedj/eslintrc"
Usage
.env
ESLINT_USE_FLAT_CONFIG = true
eslint.config.js
import ineedj from "@ineedj/eslintrc";
export default ineedj({ syntax: { eslint: true, typescript: true } });
1.2.3
9 months ago
1.2.2
10 months ago
1.2.1
10 months ago
1.2.0
11 months ago
1.1.7
11 months ago
1.1.6
11 months ago
1.1.5
11 months ago
1.1.4
11 months ago
1.1.3
11 months ago
1.1.2
11 months ago
1.1.1
12 months ago
1.1.0
12 months ago
1.0.2
12 months ago
1.0.1
12 months ago
1.0.0
12 months ago
0.23.0
12 months ago
0.22.0
12 months ago
0.21.0
12 months ago
0.20.0
12 months ago
0.19.0
12 months ago
0.18.0
12 months ago
0.17.0
12 months ago
0.16.0
12 months ago
0.15.0
12 months ago
0.14.0
12 months ago
0.13.0
12 months ago
0.11.0
12 months ago
0.10.1
12 months ago
0.10.0
12 months ago
0.8.0
12 months ago
0.7.0
12 months ago
0.6.0
12 months ago
0.5.2
12 months ago
0.5.1
12 months ago
0.5.0
12 months ago
0.4.0
12 months ago
0.3.6
12 months ago
0.3.5
12 months ago
0.3.4
12 months ago
0.3.3
12 months ago
0.3.2
12 months ago
0.3.1
12 months ago
0.3.0
1 year ago
0.2.0
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago