@syntek/eslint-config-syntek
v2.0.2
Published
Syntek ESLint shareable config
Downloads
43
Readme
eslint-config-syntek
Dependencies
You can view all the peer dependencies you can install using the following command:
npm info @syntek/eslint-config-syntek@latest peerDependencies
You can install the required peer dependencies with the following command:
npx @syntek/eslint-config-syntek default
Configs
This repository contains multiple ESLint configurations.
Base
@syntek/syntek
for the base JavaScript rules.
ESLint config:
module.exports = {
extends: '@syntek/syntek',
};
Or for the browser
module.exports = {
extends: '@syntek/syntek',
env: {
browser: true,
},
};
Node
@syntek/syntek/node
for JavaScript with node.
ESLint config:
module.exports = {
extends: '@syntek/syntek/node',
};
TypeScript
@syntek/syntek/typescript
for TypeScript.
Additional required peer dependencies:
npx @syntek/eslint-config-syntek typescript
ESLint config:
module.exports = {
extends: '@syntek/syntek/typescript',
};
Vue
@syntek/syntek/vue
for Vue.
Additional required peer dependencies:
npx @syntek/eslint-config-syntek vue
ESLint config:
module.exports = {
extends: '@syntek/syntek/vue',
};
Markdown
@syntek/syntek/markdown
for Markdown.
Additional required peer dependencies:
npx @syntek/eslint-config-syntek markdown
ESLint config:
module.exports = {
extends: [
'@syntek/syntek', // or a different configuration
'@syntek/syntek/markdown',
],
};