UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

20 lines (17 loc) 481 B
'use strict'; // Import the ESLint plugin locally const warnSchemaEslintPlugin = require('./eslint-plugin-warn-schema'); const tsParser = require('@typescript-eslint/parser'); module.exports = [ { files: ['**/*.ts'], languageOptions: { parser: tsParser, }, // Using the eslint-plugin-example plugin defined locally plugins: { warnSchemaPlugin: warnSchemaEslintPlugin }, rules: { 'warnSchemaPlugin/warn-schema-change': 'warn', }, }, ];