2.3.4 • Published 8 months ago
eslint-config-arvin v2.3.4
Arvin's ESLint Rules
One plugin to share my common ESLint rules across different projects.
- Use v2.x for ESLint v9.13.0 and above
- Use v1.0.9 for ESLint v8.57.0 and below
Usage
Create a ESLint config file in your project root directory:
eslint.config.mjs
Copy/paste:
import arvinConfig from "eslint-config-arvin";
import arvinReactConfig from "eslint-config-arvin/react.js";
import arvinViteConfig from "eslint-config-arvin/vite.js";
export default [...arvinConfig, ...arvinReactConfig, ...arvinViteConfig];
All Supported Configurations
Config | Import |
---|---|
JavaScript and TypeScript | import arvinConfig from "eslint-config-arvin"; |
React | import arvinReactConfig from "eslint-config-arvin/react.js"; |
Next.js | import arvinNextConfig from "eslint-config-arvin/next.js"; |
Vite | import arvinViteConfig from "eslint-config-arvin/vite.js"; |
Vitest | import arvinVitestConfig from "eslint-config-arvin/vitest.js"; |
2.3.4
8 months ago
2.3.2
9 months ago
2.3.3
9 months ago
2.3.0
10 months ago
2.2.1
10 months ago
2.3.1
10 months ago
2.2.0
10 months ago
2.1.0
10 months ago
2.0.1
11 months ago
2.0.0
11 months ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago