Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for ESLint Flat Config #779

Merged
merged 27 commits into from
Jun 14, 2024
Merged

Conversation

k1tikurisu
Copy link
Member

@k1tikurisu k1tikurisu commented Jun 10, 2024

an example:

const config = require("@cybozu/eslint-config/flat/presets/react-typescript-prettier")

module.exports = [
  ...config,
  {
    rules: {
      // default
      // 'indent': ['warn', 2, { "SwitchCase": 1 }],
      indent: ["warn", 4, { SwitchCase: 0 }]
    }
  },
]

@k1tikurisu k1tikurisu self-assigned this Jun 10, 2024
@k1tikurisu k1tikurisu marked this pull request as ready for review June 14, 2024 05:40
@k1tikurisu k1tikurisu requested review from mugi-uno and nus3 June 14, 2024 05:40
@k1tikurisu k1tikurisu merged commit bed66e3 into master Jun 14, 2024
4 checks passed
@k1tikurisu k1tikurisu deleted the feat-flat-config branch June 14, 2024 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant