@croutonn/eslint-config
v1.0.14
Published
This is eslint-config for me.
Downloads
15
Maintainers
Readme
@croutonn/eslint-config
This is eslint-config for me.
Usage
{
"root": true,
"env": {
"es6": true,
"browser": true,
"jest": true,
"node": true
},
"extends": ["@croutonn/eslint-config/javascript-react-loose"],
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["@croutonn/eslint-config/typescript-react-loose"]
},
{
"files": ["**/*.d.ts"],
"extends": ["@croutonn/eslint-config/typescript-declare"]
},
{
"files": [
"**/test/**/*.ts",
"**/test/**/*.tsx",
"**/tests/**/*.ts",
"**/tests/**/*.tsx",
"**/__tests__/**/*.ts",
"**/__tests__/**/*.tsx",
"**/*.test.ts",
"**/*.test.tsx",
"**/*.spec.ts",
"**/*.spec.tsx"
],
"extends": ["@croutonn/eslint-config/typescript-test"]
},
{
"files": [
"**/test/**/*.js",
"**/test/**/*.jsx",
"**/tests/**/*.js",
"**/tests/**/*.jsx",
"**/__tests__/**/*.js",
"**/__tests__/**/*.jsx",
"**/*.test.js",
"**/*.test.jsx",
"**/*.spec.js",
"**/*.spec.jsx"
],
"extends": ["@croutonn/eslint-config/javascript-test"]
}
]
}