@a24/codestyle

1.0.18 • Public • Published

@a24/codestyle

(https://www.npmjs.com/package/@a24/codestyle)

This package provides Author24 .eslintrc as an extensible shared config.

Usage

@a24/codestyle

Our default export contains most of our ESLint rules, including ECMAScript 6+ and React.

  1. Install the correct versions of each package, which are listed by the command:
npm info "@a24/codestyle@latest" peerDependencies

If using npm

npm install -g install-peerdeps
install-peerdeps --dev @a24/codestyle

or if you don't want install istall-peerdeps global you can use shortcut

npm install --save-dev @a24/codestyle eslint-plugin-react@7.30.1 @typescript-eslint/eslint-plugin@4.28.1 @typescript-eslint/parser@4.28.1  eslint@7.32.0 eslint-config-prettier@8.8.0 eslint-plugin-prettier@4.2.1 eslint-plugin-react@7.30.1 eslint-plugin-react-hooks@4.6.0 eslint-plugin-simple-import-sort@10.0.0

If using yarn

yarn add -D @a24/codestyle eslint-plugin-react@7.30.1 @typescript-eslint/eslint-plugin@4.28.1 @typescript-eslint/parser@4.28.1  eslint@7.32.0 eslint-config-prettier@8.8.0 eslint-plugin-prettier@4.2.1 eslint-plugin-react@7.30.1 eslint-plugin-react-hooks@4.6.0 eslint-plugin-simple-import-sort@10.0.0
  1. Add "extends": "./node_modules/@a24/codestyle" to your .eslintrc

Readme

Keywords

none

Package Sidebar

Install

npm i @a24/codestyle

Weekly Downloads

14

Version

1.0.18

License

MIT

Unpacked Size

7.04 kB

Total Files

6

Last publish

Collaborators

  • r.asatov
  • anoma1y