eslint-config-awzzm
v2.0.0
Published
An ESLint configuration for modern TypeScript
Downloads
7
Readme
Base Configuration
npm install --save-dev eslint-config-awzzm
# or
yarn add -D eslint-config-awzzm
Add it to your ESLint configuration:
{
"extends": ["awzzm"]
}
Most Significant Rules
- Use double quotes (
quotes
)
// ✔️ Good
const a = "value"
// ❌ Bad
const b = 'value'
- Don't use semicolons (
semi
)
// ✔️ Good
console.log("hi!")
// ❌ Bad
console.log("hi!");
- Don't use default exports (
import/no-default-export
)
// ✔️ Good
export const sayHello = () => console.log("hello")
// ❌ Bad
export default () => console.log("hello")