1.1.4 • Published 1 year ago

@axenuab/eslint-config-axenu v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

eslint-config-axenu

This repo exports a shared config for eslint that should be used in all Axenu projects.

Usage

1) Install the package using command npm install @axenuab/eslint-config-axenu. 2) Install eslint package using command npm install eslint.

For React Native

Create an .eslintrc.js file in your repo like this:

module.exports = {
  extends: ['@axenu/react-native'],
};

In package.json

Create two scripts like this:

  • "lint": "eslint ."
  • "lint-fix": "eslint --fix ."

Run lint

npm run lint