Skip to content

Instantly share code, notes, and snippets.

@zolotyh
Created October 2, 2019 12:05
Show Gist options
  • Save zolotyh/f4897417a1cbbaff080e5420008458b9 to your computer and use it in GitHub Desktop.
Save zolotyh/f4897417a1cbbaff080e5420008458b9 to your computer and use it in GitHub Desktop.
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "import", "eslint-plugin-localization"],
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended"
],
parserOptions: {
ecmaVersion: 2019,
sourceType: "module",
ecmaFeatures: {
jsx: true
}
},
rules: {
"localization/avoid-unlocalized-strings": 2,
"localization/avoid-unlocalized-strings-in-title": 2,
},
settings: {
react: {
version: "detect"
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment