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

Fix 3 ESLint rulesets including yml config and compat #1032

Open
leotm opened this issue Oct 1, 2022 · 0 comments
Open

Fix 3 ESLint rulesets including yml config and compat #1032

leotm opened this issue Oct 1, 2022 · 0 comments
Labels
ci GitHub Actions workflow - Bundling / Building / Compiling / Integrating / Testing devDeps Development dependencies needed when devving but not runtime js JavaScript changes (CodePush if JS-only release) linting For checking code for errors in static analysis

Comments

@leotm
Copy link
Owner

leotm commented Oct 1, 2022

// Misc
'airbnb-typescript-prettier',
// 'react-native-typescript', // [ERR_PACKAGE_PATH_NOT_EXPORTED]: Failed to load plugin 'flowtype'
// '@react-native-community', // [ERR_PACKAGE_PATH_NOT_EXPORTED]: Failed to load plugin 'flowtype'
// 'plugin:prettier/recommended', // Incompatible with eslint-plugin-yml
'plugin:yml/prettier'

overrides: [
{
files: ['*.yaml', '*.yml'],
parser: 'yaml-eslint-parser',
rules: {
// TODO: Fix
'spaced-comment': 'off',
'yml/flow-sequence-bracket-spacing': ['error', 'always']
}
}
],

Facebook made the yml linting switch too

Consider alt ruleset

      "plugins": ["yml"],
      "extends": ["plugin:yml/standard"]
@leotm leotm added js JavaScript changes (CodePush if JS-only release) linting For checking code for errors in static analysis devDeps Development dependencies needed when devving but not runtime ci GitHub Actions workflow - Bundling / Building / Compiling / Integrating / Testing labels Oct 1, 2022
@leotm leotm changed the title Fix 3 ESLint rulesets including yml config and interop Fix 3 ESLint rulesets including yml config and compat Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci GitHub Actions workflow - Bundling / Building / Compiling / Integrating / Testing devDeps Development dependencies needed when devving but not runtime js JavaScript changes (CodePush if JS-only release) linting For checking code for errors in static analysis
Projects
None yet
Development

No branches or pull requests

1 participant