> For the complete documentation index, see [llms.txt](https://easonwang.gitbook.io/web_advance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easonwang.gitbook.io/web_advance/react-native/eslint.md).

# ESlint

內建已經有一個 .eslint.js 建議可以改為以下

```javascript
module.exports = {
  "root": true,
  "extends": '@react-native-community',
  "parser": "babel-eslint",
  "overrides": [
    {
      "files": ["*.js"],
      "rules": {
        "react-native/no-inline-styles": "off"
      }
    }
  ],
};
```
