Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ink-feather-org/eslint-config-shareable
Eslint shareable config used in most ink-feather-org projects.
https://github.com/ink-feather-org/eslint-config-shareable
eslint javascript shareable-config
Last synced: about 1 month ago
JSON representation
Eslint shareable config used in most ink-feather-org projects.
- Host: GitHub
- URL: https://github.com/ink-feather-org/eslint-config-shareable
- Owner: ink-feather-org
- License: gpl-3.0
- Created: 2022-02-24T09:48:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T09:18:32.000Z (about 2 years ago)
- Last Synced: 2024-08-08T17:17:11.504Z (5 months ago)
- Topics: eslint, javascript, shareable-config
- Language: JavaScript
- Homepage:
- Size: 182 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @ink-feather-org/eslint-config-shareable
## What is this?Eslint shareable config used in most ink-feather-org projects.
This only contains rule overrides and is meant to be applied after an airbnb-like config.## Vue Setup
`pnpm add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-functional eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-vue typescript vue-eslint-parser webpack @ink-feather-org/eslint-config-shareable`
### .eslintrc.js
```js
module.exports = {
root: true,
env: {
node: true
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020
},
extends: [
'plugin:vue/essential',
'@vue/airbnb',
'@vue/typescript/recommended',
'@feather-ink/eslint-config-shareable'
],
plugins: [
'import',
'node'
]
}
```## Only typescript Setup
`pnpm add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-functional eslint-plugin-import eslint-plugin-node eslint-plugin-promise typescript vue-eslint-parser eslint-config-airbnb-typescript @ink-feather-org/eslint-config-shareable`
### .eslintrc.js
```js
module.exports = {
root: true,
env: {
node: true
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
project: './tsconfig.json'
},
extends: [
'airbnb-typescript/base',
'plugin:@typescript-eslint/recommended',
'@feather-ink/eslint-config-shareable'
],
plugins: [
'import',
'node'
]
}
```