eslint-config-noamokman
v10.3.11
Published
The eslint config used by noamokman
Downloads
21
Maintainers
Readme
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.
Test noamokman/test
Use this for your jest tests
{
"extends": "noamokman/test"
}
Install the plugin:
$ npm install --save-dev eslint-plugin-jest
React noamokman/react
{
"extends": "noamokman/react"
}
Install the plugin:
$ npm install --save-dev eslint-plugin-react
React Test noamokman/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
React Native noamokman/react-native
{
"extends": "noamokman/react-native"
}
Install the plugins:
$ npm install --save-dev eslint-plugin-react eslint-plugin-react-native
React Native Test noamokman/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