1.0.1 • Published 5 months ago
@pixiv/eslint-config v1.0.1
@pixiv/eslint-config
!WARNING This package does not follow semver before 1.0
pnpm add eslint @pixiv/eslint-config
eslint.config.mjs
import pixiv from "@pixiv/eslint-config";
export default pixiv.configs.recommended;また
import pixiv from "@pixiv/eslint-config";
export default [
{
ignores: ["tmp", "vendor", "public/packs"],
},
...pixiv.configs.recommended,
{
rules: {
"react/self-closing-comp": "warn",
"import/first": "warn",
"object-shorthand": "warn",
curly: "off",
},
},
];Goals and non-goals
Goals
- Reduce the cost for managing eslint related dependencies
Non-goals
- Managing extremely opinionated lint rules
Known issues
- This package contains many deps that might not be used
- In some condition it's required to set
public-hoist-pattern[]=eslint-*in .npmrc
1.0.1
5 months ago
1.0.0
5 months ago
0.0.10
9 months ago
0.0.11
8 months ago
0.0.12
8 months ago
0.0.13
7 months ago
0.0.14
7 months ago
0.1.0
6 months ago
0.0.3
1 year ago
0.0.15
6 months ago
0.0.9
9 months ago
0.0.16
6 months ago
0.0.8
10 months ago
0.0.17
6 months ago
0.0.5
11 months ago
0.0.4
12 months ago
0.0.7
10 months ago
0.0.6
11 months ago
0.0.2
1 year ago
0.0.1
1 year ago