MOXY's set of ESLint configuration packages to be used across several JavaScript projects.
This repository contains two sets of ESLint configurations to be used in JavaScript projects:
By using one or more of these packages, you can enforce the desired code styles for each type of project.
For more information on how to use each package and their specific configurations, please read the package's README by following the links below. You may also check the examples listed in Typical Configs to see how the packages may be combined for the most common scenarios.
The base config is published as @moxy/eslint-config-base
, check out its README to know how to use it.
There are several enhancer packages, which are intended to be used in conjunction with the base configuration:
@moxy/eslint-config-babel
- If you are going to use Babel to transpile source code.@moxy/eslint-config-jest
- If you are going to use Jest to develop tests.@moxy/eslint-config-react
- If you are going to use React.@moxy/eslint-config-react-web-a11y
- If you want to detect accessibility issues in web projects based on React.@moxy/eslint-config-vue
- If you are going to use Vue.@moxy/eslint-config-react-native
- If you are going to use React Native.@moxy/eslint-config-react-native-a11y
- If you want to detect accessibility issues in React Native apps.If you want to read the changelog of an older version, please check here.