eslint-plugin-valkyriecoms/index.js

24 lines
595 B
JavaScript
Raw Normal View History

2024-10-02 04:28:21 -07:00
import javascript from './configs/javascript.js';
2024-10-02 04:14:11 -07:00
import recommended from './configs/recommended.js';
2024-10-02 04:28:21 -07:00
import typescript from './configs/typescript.js';
/**
* TODO: I want to import attributes, but depending on the VS Code environment, an error occurs, so I put this off for now.
* @see https://github.com/microsoft/vscode-eslint/issues/1848
*/
import packageConfig from './package.json' assert { type: 'json' };
2024-10-02 04:14:11 -07:00
const plugin = {
meta: {
2024-10-02 04:28:21 -07:00
name: packageConfig.name,
version: packageConfig.version,
2024-10-02 04:14:11 -07:00
},
2024-09-30 23:04:25 -07:00
configs: {
2024-10-02 04:28:21 -07:00
javascript,
2024-10-02 04:14:11 -07:00
recommended,
2024-10-02 04:28:21 -07:00
typescript,
2024-09-30 23:04:25 -07:00
},
};
2024-10-02 04:14:11 -07:00
export default plugin;