⚠️
Deprecation notice This repo was renamed and moved to osskit
eslint-config-noamokman
ESLint shareable config used by noamokman.
Install
$ npm install --save-dev eslint-config-noamokman
Plugins
This config uses several plugins:
$ npm install --save-dev eslint-plugin-import eslint-plugin-unicorn @typescript-eslint/eslint-plugin
Usage
Create an .eslintrc
file:
{
"extends": "noamokman"
}
Or add the ESLint config to your package.json
:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "noamokman"
}
}
Additional Configs
This package exposes additional configs.
noamokman/test
Test Use this for your jest tests
{
"extends": "noamokman/test"
}
Install the plugin:
$ npm install --save-dev eslint-plugin-jest
noamokman/react
React {
"extends": "noamokman/react"
}
Install the plugin:
$ npm install --save-dev eslint-plugin-react
noamokman/react-test
React Test Use this for your react jest tests
{
"extends": "noamokman/react-test"
}
Install the plugins:
$ npm install --save-dev eslint-plugin-jest eslint-plugin-react
noamokman/react-native
React Native {
"extends": "noamokman/react-native"
}
Install the plugins:
$ npm install --save-dev eslint-plugin-react eslint-plugin-react-native
noamokman/react-native-test
React Native Test Use this for your react native jest tests
{
"extends": "noamokman/react-native-test"
}
Install the plugins:
$ npm install --save-dev eslint-plugin-jest eslint-plugin-react eslint-plugin-react-native