@matcherino/shared-configs
v1.0.6
Published
Matcherino, Inc. standardized developer configurations.
Downloads
29
Readme
@matcherino/shared-configs
Matcherino, Inc. standardized developer configurations.
Node Project Installation
To install with dependencies
yarn add eslint@latest babel-eslint@latest @matcherino/shared-configs
Create .eslintrc.js
for node project
const {eslintrc} = require('@matcherino/shared-configs');
module.exports = {
...eslintrc
// overrides here
};
Create .prettierrc.js
const {prettierrc} = require('@matcherino/shared-configs');
module.exports = {
...prettierrc
// overrides here
};
React Project Installation
To install with dependencies for React
yarn add eslint@latest babel-eslint@latest eslint-plugin-react@latest @matcherino/shared-configs
Create .eslintrc.js
for react project
const {eslintrc} = require('@matcherino/shared-configs/react');
module.exports = {
...eslintrc
// overrides here
};
Create .prettierrc.js
const {prettierrc} = require('@matcherino/shared-configs/react');
module.exports = {
...prettierrc
// overrides here
};