eslint-config-noamkadosh v1.1.5
Exported configs:
noamkadosh
- base for javascript and typescriptnoamkadosh/browser
- when working with code that runs on the browsernoamkadosh/node
- when working with code that runs on nodenoamkadosh/frameworks
- detects frameworks in use- Note: configs for individual frameworks are exported too, e.g
noamkadosh/frameworks/react
- Note: configs for individual frameworks are exported too, e.g
noamkadosh/jsx
- when working with jsxnoamkadosh/testing
- detects testing framework in usenoamkadosh/styling
- detects styling framework in use
Installation
npm
npm install --save-dev eslint-config-noamkadosh
yarn
yarn add -D eslint-config-noamkadosh
pnpm
pnpm add -D eslint-config-noamkadosh
Usage
module.exports = {
extends: ['noamkadosh'],
}
Monorepo
In a monorepo, you should add the following to every project's eslint configuration as the plugin can't detect the tsconfig.json
file in such an environment.
module.exports = {
// ... more configuration
extends: [
'noamkadosh'
],
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname
},
settings: {
'import/resolver': {
typescript: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname
}
}
},
// ... more configuration
}
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago