@arstoien/devtools
v1.0.1
Published
Shared ESLint and Prettier configurations for Arstoien projects
Maintainers
Readme
@arstoien/devtools
Shared ESLint and Prettier configurations for Arstoien projects.
Installation
npm install --save-dev @arstoien/devtools
# or
yarn add -D @arstoien/devtoolsUsage
ESLint Configuration
Create an eslint.config.js file in your project root:
const { eslintrc } = require('@arstoien/devtools');
module.exports = eslintrc;Prettier Configuration
Create a .prettierrc.js file in your project root:
const { prettierrc } = require('@arstoien/devtools');
module.exports = prettierrc;Features
ESLint
- TypeScript support with strict type checking
- React hooks linting
- Import organization and unused imports detection
- Lodash best practices
- Consistent code style enforcement
Prettier
- Consistent formatting with 2-space indentation
- Single quotes for strings
- Trailing commas (ES5)
- 100 character line width
- Tailwind CSS class sorting support
Peer Dependencies
This package requires the following peer dependencies:
eslint^9.0.0prettier^3.0.0typescript^5.0.0
License
MIT
