Skip to content

Commit

Permalink
feat: move react-native to a separated file
Browse files Browse the repository at this point in the history
  • Loading branch information
danieloprado committed Jun 3, 2024
1 parent f922106 commit 2f0b716
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions configs/react-native.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const { fixupPluginRules } = require('@eslint/compat');
const pluginReactNative = require('eslint-plugin-react-native');

module.exports = {
name: '@eduzz/eslint-config-react-native',
plugins: {
'react-native': fixupPluginRules(pluginReactNative)
},
rules: {
'react-native/no-inline-styles': ['warn'],
'react-native/no-unused-styles': ['error']
}
};

0 comments on commit 2f0b716

Please sign in to comment.