0.0.14 • Published 2 years ago

@tmkiu/eslint-config v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Config Examples

.eslintrc.js

module.exports = {
  extends: ['@tmkiu'],
};

.vscode/settings.json

{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "json",
    "jsonc",
    "json5",
    "markdown",
    "less",
    "scss",
    "vue"
  ],
  "prettier.semi": true,
  "prettier.singleQuote": true,
  "prettier.trailingComma": "es5",
  "prettier.arrowParens": "avoid",
  "prettier.printWidth": 100
}

Trouble Shooting

Conflict

const baseConfig = require('@tmkiu/eslint-config');

module.exports = {
  extends: ['@tmkiu'],
  overrides: [...baseConfig.overrides],
};

Prettier or other cli

if you are using pnpm, add this to your .npmrc

public-hoist-pattern[] = **eslint**
public-hoist-pattern[] = prettier
0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.11

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago