mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* Move the shared ESLint plugin/config into the monorepo * Add peer dependencies to ESLint plugin
21 lines
539 B
JavaScript
21 lines
539 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
configs: {
|
|
base: {
|
|
extends: [
|
|
require.resolve('./configs/.eslintrc.json'),
|
|
],
|
|
},
|
|
react: {
|
|
extends: [
|
|
require.resolve('./configs/.eslintrc.json'),
|
|
require.resolve('./configs/.eslintrc-react.json'),
|
|
],
|
|
},
|
|
},
|
|
rules: {
|
|
'no-dispatch-getstate': require('./rules/no-dispatch-getstate'),
|
|
'use-external-link': require('./rules/use-external-link'),
|
|
},
|
|
};
|